Bug fix?
authorJakob Cornell <jakob@jcornell.net>
Sun, 5 Jan 2020 07:16:17 +0000 (01:16 -0600)
committerJakob Cornell <jakob@jcornell.net>
Sun, 5 Jan 2020 07:16:17 +0000 (01:16 -0600)
main.py

diff --git a/main.py b/main.py
index 8c2c7d7a718f1687fb9cbbeaee26afda6c3a878c..75a103a37939c9724e564bac22c83eb528383dec 100644 (file)
--- a/main.py
+++ b/main.py
@@ -151,6 +151,7 @@ class AsyncHttpServer:
 
                        def do_GET(self):
                                self.send_response(200)
+                               self.send_header('Content-Type', 'application/json; charset=UTF-8')
                                self.send_header('Access-Control-Allow-Origin', '*')
                                self.end_headers()
                                self.wfile.write(data)