diff options
| -rw-r--r-- | main.py | 6 | ||||
| -rw-r--r-- | www/favicon.ico (renamed from page/favicon.ico) | bin | 318 -> 318 bytes | |||
| -rw-r--r-- | www/index.html (renamed from index.html) | 0 | ||||
| -rw-r--r-- | www/robots.txt (renamed from page/robots.txt) | 0 |
4 files changed, 3 insertions, 3 deletions
diff --git a/main.py b/main.py index 44c8d26..deb3f74 100644 --- a/main.py +++ b/main.py @@ -73,9 +73,9 @@ class HTMLServer: # list of allowed paths self.allowed_paths: dict[str, dict] = { - "/": {"path": "index.html", "encoding": "css/html"}, - "/robots.txt": {"path": "page/robots.txt", "encoding": "text"}, - "/favicon.ico": {"path": "page/favicon.ico", "encoding": "bin"}, + "/": {"path": "www/index.html", "encoding": "css/html"}, + "/robots.txt": {"path": "www/robots.txt", "encoding": "text"}, + "/favicon.ico": {"path": "www/favicon.ico", "encoding": "bin"}, "/css/styles.css": {"path": None, "encoding": "css/html"}, } diff --git a/page/favicon.ico b/www/favicon.ico index 5f90164..5f90164 100644 --- a/page/favicon.ico +++ b/www/favicon.ico Binary files differdiff --git a/index.html b/www/index.html index d860e13..d860e13 100644 --- a/index.html +++ b/www/index.html diff --git a/page/robots.txt b/www/robots.txt index 1f53798..1f53798 100644 --- a/page/robots.txt +++ b/www/robots.txt |