treesummaryrefslogcommitdiff
diff options
context:
space:
mode:
authorPatrick Schönberger2018-12-10 18:57:01 +0100
committerPatrick Schönberger2018-12-10 18:57:01 +0100
commit6925fed704a39c55e4af58074e6f616519bd94c5 (patch)
tree5130d96ceb984cdad5f070158b6c3568cd530b11
parent9b52f8e63824d57d896efee53bc8e9abe624857c (diff)
downloadlolstats-6925fed704a39c55e4af58074e6f616519bd94c5.tar.gz
lolstats-6925fed704a39c55e4af58074e6f616519bd94c5.zip
adapted server to static file path
-rw-r--r--index.js6
1 files 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;