diff --git a/AnkiConnect.py b/AnkiConnect.py index e051c16..556e10c 100644 --- a/AnkiConnect.py +++ b/AnkiConnect.py @@ -218,7 +218,8 @@ class AjaxServer: def resetHeaders(self): self.headers = [ ['HTTP/1.1 200 OK', None], - ['Content-Type', 'text/json'] + ['Content-Type', 'text/json'], + ['Access-Control-Allow-Origin', '*'] ] self.extraHeaders = {}