move index.html to public folder

This commit is contained in:
liamcottle
2024-04-30 15:56:07 +12:00
parent 934d9b303d
commit 07b2525dc8
2 changed files with 1 additions and 1 deletions

View File

2
web.py
View File

@@ -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')