From 6925fed704a39c55e4af58074e6f616519bd94c5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Patrick=20Sch=C3=B6nberger?= Date: Mon, 10 Dec 2018 18:57:01 +0100 Subject: [PATCH] adapted server to static file path --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.50.1