aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2021-08-13 06:28:13 +0300
committerRblSb <msrblsb@gmail.com>2021-08-13 06:28:13 +0300
commit5b908e914ebfeedb2895f5de1b9167a6ce12c136 (patch)
tree14521fa2dd63c24afc219db90714e2a1509d5034 /build
parentf972d4b7b1c6a69ab20cd2aee5a43df702796075 (diff)
Fix local subs
closes #28
Diffstat (limited to 'build')
-rw-r--r--build/server.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/build/server.js b/build/server.js
index 013e3c4..1e842ca 100644
--- a/build/server.js
+++ b/build/server.js
@@ -3573,7 +3573,7 @@ server_HttpServer.init = function(dir,customDir,allowLocalRequests) {
server_HttpServer.allowLocalRequests = allowLocalRequests;
};
server_HttpServer.serveFiles = function(req,res) {
- var url = req.url;
+ var url = decodeURI(req.url);
if(url == "/") {
url = "/index.html";
}
@@ -3705,7 +3705,7 @@ server_HttpServer.proxyUrl = function(req,res) {
server_HttpServer.proxyRequest = function(url,req,res,fn) {
var url1;
try {
- url1 = new js_node_url_URL(global.decodeURI(url));
+ url1 = new js_node_url_URL(decodeURI(url));
} catch( _g ) {
return null;
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage