diff --git a/404.html b/404.html new file mode 100644 index 0000000..3617578 --- /dev/null +++ b/404.html @@ -0,0 +1 @@ +{path} diff --git a/config.json b/config.json index c583781..ae243c2 100644 --- a/config.json +++ b/config.json @@ -3,7 +3,7 @@ "port": 5555, "pubport": 80, "page404": "404.html", - "timestamp": 1693743065822, + "timestamp": 1693744950022, "blacklist": [], "nonStandardCodes": [], "enableCompression": true, diff --git a/svr.js b/svr.js index b35b15b..4c40707 100644 --- a/svr.js +++ b/svr.js @@ -2849,7 +2849,7 @@ if (!cluster.isPrimary) { var preparedReqIPvalid = net.isIP(preparedReqIP); if(preparedReqIPvalid) { if (preparedReqIPvalid == 4 && req.socket.remoteAddress && req.socket.remoteAddress.indexOf(":") > -1) preparedReqIP = "::ffff:" + preparedReqIP; - reqip = preparedReqIP + reqip = preparedReqIP; reqport = null; try { oldport = req.socket.remotePort; diff --git a/views.txt b/views.txt index 7c6ba0f..2ebc651 100644 --- a/views.txt +++ b/views.txt @@ -1 +1 @@ -55 \ No newline at end of file +56 \ No newline at end of file