1
0
Fork 0
forked from svrjs/svrjs

Added missing semicolon

This commit is contained in:
Dorian Niemiec 2023-09-03 22:31:07 +02:00
parent b1ab6e3e4a
commit 61b0d6ad9c
4 changed files with 4 additions and 3 deletions

1
404.html Normal file
View file

@ -0,0 +1 @@
{path}

View file

@ -3,7 +3,7 @@
"port": 5555,
"pubport": 80,
"page404": "404.html",
"timestamp": 1693743065822,
"timestamp": 1693744950022,
"blacklist": [],
"nonStandardCodes": [],
"enableCompression": true,

2
svr.js
View file

@ -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;

View file

@ -1 +1 @@
55
56