From 07b2525dc809ef709a8559feacb498aa16b72b38 Mon Sep 17 00:00:00 2001 From: liamcottle Date: Tue, 30 Apr 2024 15:56:07 +1200 Subject: [PATCH] move index.html to public folder --- index.html => public/index.html | 0 web.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename index.html => public/index.html (100%) 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')