aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2021-08-20 15:08:35 +0300
committerRblSb <msrblsb@gmail.com>2021-08-20 15:08:35 +0300
commit34f50a628249cccfd746d05a3ff1bfaaba0efd0b (patch)
tree4e5c19ab69d1d905c763e46ee77feaa284d91447 /build
parentf2d28c726ba46f03716ed37667d0e94c60ad3459 (diff)
Fix subs for linux chrome
With trackEl.srclang = "en"
Diffstat (limited to 'build')
-rw-r--r--build/server.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/build/server.js b/build/server.js
index 93dec79..5f39892 100644
--- a/build/server.js
+++ b/build/server.js
@@ -3597,7 +3597,7 @@ server_HttpServer.serveFiles = function(req,res) {
}
if(StringTools.startsWith(url,"/proxy")) {
if(!server_HttpServer.proxyUrl(req,res)) {
- res.end("Cannot proxy " + req.url);
+ res.end("Proxy error: " + req.url);
}
return;
}
@@ -3690,7 +3690,7 @@ server_HttpServer.proxyUrl = function(req,res) {
return false;
});
if(proxy2 == null) {
- res.end("Proxy error for redirected " + url);
+ res.end("Proxy error: multiple redirects for url " + url);
return true;
}
req.pipe(proxy2,{ end : true});
@@ -3721,7 +3721,7 @@ server_HttpServer.proxyRequest = function(url,req,res,fn) {
proxyReq.pipe(res,{ end : true});
});
proxy.on("error",function(err) {
- res.end("Proxy error for " + url1.href);
+ res.end("Proxy error: " + url1.href);
});
return proxy;
};
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage