diff --git a/svr.js b/svr.js index c770620..a02ba7c 100644 --- a/svr.js +++ b/svr.js @@ -4168,9 +4168,9 @@ if (!cluster.isPrimary) { // Handle URL rewriting function rewriteURL(address, map, callback, _fileState, _mapBegIndex) { var rewrittenURL = address; + var doCallback = true; if (!isProxy) { - var doCallback = true; - for(var i=(_mapBegIndex ? _mapBegIndex : 0);i " + rewrittenURL); req.url = rewrittenURL;