diff options
| author | Patrick Schönberger | 2018-12-10 18:57:01 +0100 |
|---|---|---|
| committer | Patrick Schönberger | 2018-12-10 18:57:01 +0100 |
| commit | 6925fed704a39c55e4af58074e6f616519bd94c5 (patch) | |
| tree | 5130d96ceb984cdad5f070158b6c3568cd530b11 /index.js | |
| parent | 9b52f8e63824d57d896efee53bc8e9abe624857c (diff) | |
| download | lolstats-6925fed704a39c55e4af58074e6f616519bd94c5.tar.gz lolstats-6925fed704a39c55e4af58074e6f616519bd94c5.zip | |
adapted server to static file path
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |
