forked from svrjs/svrjs
Clean up the code (remove trailing spaces)
This commit is contained in:
parent
db6c4faeaf
commit
60a84d879d
1 changed files with 8 additions and 10 deletions
2
svr.js
2
svr.js
|
@ -4167,7 +4167,6 @@ if (!cluster.isPrimary) {
|
||||||
|
|
||||||
// Handle URL rewriting
|
// Handle URL rewriting
|
||||||
function rewriteURL(address, map, callback, _fileState, _mapBegIndex) {
|
function rewriteURL(address, map, callback, _fileState, _mapBegIndex) {
|
||||||
|
|
||||||
var rewrittenURL = address;
|
var rewrittenURL = address;
|
||||||
if (!isProxy) {
|
if (!isProxy) {
|
||||||
var doCallback = true;
|
var doCallback = true;
|
||||||
|
@ -4198,7 +4197,6 @@ if (!cluster.isPrimary) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if(doCallback) callback(rewrittenURL);
|
if(doCallback) callback(rewrittenURL);
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue