diff options
| author | UltraQbik <no1skill@yandex.ru> | 2024-08-20 00:10:11 +0300 |
|---|---|---|
| committer | UltraQbik <no1skill@yandex.ru> | 2024-08-20 00:10:11 +0300 |
| commit | 3182c192dc35cf0561d7608f65867da39ad9538c (patch) | |
| tree | e6f8bf1bca9761583b1a017bd1e9fa4ffe57b745 /main.py | |
| parent | fa7e3e4afacaf160d1de370e001acbe0d554a865 (diff) | |
| download | httpy-3182c192dc35cf0561d7608f65867da39ad9538c.tar.gz httpy-3182c192dc35cf0561d7608f65867da39ad9538c.zip | |
Change file dislocation
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 6 |
1 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"}, } |