Further restrict which URLs get remapped to static.pcjs.org
This commit is contained in:
parent
f9df384bbe
commit
7302980139
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ net.encodeURL = function(sURL, req, fDebug)
|
|||
if (sURL) {
|
||||
sURL = sURL.replace(/\\/g, '/');
|
||||
if (!fDebug) {
|
||||
if (sURL.match(/^[^:]*static/)) {
|
||||
if (sURL.match(/^[^:?]*static/)) {
|
||||
sURL = "http://static.pcjs.org" + path.join(req.path, sURL).replace("/static/", "/");
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue