mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-04-21 16:48:39 +00:00
(jsrt) opt.: script load strategy
This commit is contained in:
5
scripts/02_pre_process.js
Normal file
5
scripts/02_pre_process.js
Normal file
@@ -0,0 +1,5 @@
|
||||
// Pre-processing function for incoming requests
|
||||
|
||||
function preProcessRequest(req) {
|
||||
logWithTimestamp('Pre-processing request: ' + req.method + ' ' + req.url);
|
||||
}
|
||||
Reference in New Issue
Block a user