From: Patrick Schönberger Date: Mon, 10 Dec 2018 17:57:01 +0000 (+0100) Subject: adapted server to static file path X-Git-Url: https://gitweb.ps.run/lolstats/commitdiff_plain/6925fed704a39c55e4af58074e6f616519bd94c5?ds=sidebyside adapted server to static file path --- diff --git a/index.js b/index.js index 2f25188..3cc465e 100644 --- a/index.js +++ b/index.js @@ -5,9 +5,9 @@ const app = express() const port = 3000 let rules = [ - ["/", "index.html"], - ["/script.js", "script.js"], - ["/style.css", "style.css"], + ["/lol", "index.html"], + ["/lol/script.js", "script.js"], + ["/lol/style.css", "style.css"], ]; let obfuscateJs = false;