Skip to content

Commit f99cf15

Browse files
committed
2.1
1 parent 8e8cff1 commit f99cf15

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

build/installer.iss

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33

44
#define MyAppName "Fast Server"
5-
#define MyAppVersion "2.0"
5+
#define MyAppVersion "2.1"
66
#define MyAppPublisher "Super Zombi"
77
#define MyAppURL "https://github.com/SuperZombi/fast-server"
88
#define MyAppExeName "HTTPServer.exe"

src/HTTPServer.py

+3
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ def do_GET(self):
9696
if SETTINGS.get("root") == "index":
9797
self.path = URL.path + 'index.html'
9898
else:
99+
self.send_response(200)
100+
self.send_header("Content-type", "text/html; charset=utf-8")
101+
self.end_headers()
99102
return self.copyfile(list_directory(path, URL.path), self.wfile)
100103
else:
101104
if not os.path.exists(path):

0 commit comments

Comments
 (0)