(jsrt) opt.: move req from global to local

This commit is contained in:
lollipopkit🏳️‍⚧️
2025-07-16 13:24:59 +08:00
parent 9d9070c899
commit 99a2fc5852
5 changed files with 14 additions and 23 deletions

View File

@@ -1,5 +1,5 @@
// Pre-processing function for incoming requests
function preProcessRequest() {
logWithReq('Pre-processing request');
function preProcessRequest(req) {
logWithReq(req, 'Pre-processing request');
}