diff --git a/anki_connect.py b/anki_connect.py index 48681f2..4059f9c 100644 --- a/anki_connect.py +++ b/anki_connect.py @@ -159,9 +159,9 @@ class AjaxServer: headers = { 'HTTP/1.1 200 OK': None, - 'Content-Type': 'application/json', + 'Content-Type': 'text/json', 'Content-Length': str(len(body)), - 'Access-Control-Allow-Origin': '*' + 'Access-Control-Allow-Origin': 'http://127.0.0.1' } for key, value in headers.items():