diff --git a/index.html b/public/index.html similarity index 100% rename from index.html rename to public/index.html diff --git a/web.py b/web.py index 8ba082d..cfd9850 100644 --- a/web.py +++ b/web.py @@ -95,7 +95,7 @@ class ReticulumWebChat: # serve index.html if path == "/": - with open("index.html") as f: + with open("public/index.html") as f: file_content = f.read() return http.HTTPStatus.OK, [ ('Content-Type', 'text/html')