From 46a256d31f2ce0e25f7dcbc75bf802c2970b3842 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sun, 20 Aug 2023 03:14:24 +0200 Subject: [PATCH] Update to SVR.JS 3.7.0 --- .gitignore | 1 + config.json | 13 +- index.html | 24 +- licenses/index.html | 8 +- mods/easteregg.tar.gz | Bin 0 -> 6052 bytes serverSideScript.js | 14 +- svr.js | 1427 ++++++++++++++++++++++++----------------- svrpasswd.js | 179 ++++-- tests.html | 4 +- views.txt | 2 +- 10 files changed, 1021 insertions(+), 651 deletions(-) create mode 100644 mods/easteregg.tar.gz diff --git a/.gitignore b/.gitignore index 47d6e3b..6a05898 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ commit.sh +log diff --git a/config.json b/config.json index 9090fe9..3791a3a 100644 --- a/config.json +++ b/config.json @@ -3,7 +3,7 @@ "port": 80, "pubport": 80, "page404": "404.html", - "timestamp": 1680954429282, + "timestamp": 1692493855777, "blacklist": [], "nonStandardCodes": [], "enableCompression": true, @@ -77,10 +77,17 @@ } ], "allowStatus": true, - "dontCompress": ["/.*\\.ipxe$/","/.*\\.img$/","/.*\\.iso$/"], + "dontCompress": [ + "/.*\\.ipxe$/", + "/.*\\.img$/", + "/.*\\.iso$/" + ], "enableIPSpoofing": false, "secure": false, "sni": {}, "disableNonEncryptedServer": false, - "disableToHTTPSRedirect": false + "disableToHTTPSRedirect": false, + "enableETag": true, + "disableUnusedWorkerTermination": false, + "rewriteDirtyURLs": false } diff --git a/index.html b/index.html index 66d6560..1f845bf 100644 --- a/index.html +++ b/index.html @@ -1,7 +1,7 @@ - SVR.JS 3.6.4 + SVR.JS 3.7.0 -

Welcome to SVR.JS 3.6.4

+

Welcome to SVR.JS 3.7.0



@@ -65,7 +65,7 @@           "replacement": ""
        }
      ]
-     },
3.4.13 +     },
    {
      "definingRegex": "/\\/invoke500\\/.+/",
      "replacements": [
@@ -110,7 +110,23 @@

Changes:

Bugs: