Add a header for CORS support
This commit is contained in:
parent
9ddb7eb19a
commit
20f1920e06
@ -217,7 +217,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 = {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user