Skip to content

Commit

Permalink
not having / mighta caused issues...?
Browse files Browse the repository at this point in the history
  • Loading branch information
grymmy committed Dec 9, 2024
1 parent 3663662 commit eb6b034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serve.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
class MyHTTPRequestHandler(server.SimpleHTTPRequestHandler):
def do_GET(self):
if self.path == '/':
self.path = "index.html"
self.path = '/index.html'
return server.SimpleHTTPRequestHandler.do_GET(self)

def end_headers(self):
Expand Down

0 comments on commit eb6b034

Please sign in to comment.