Add Access-Control-Allow-Headers * (#231)
This commit is contained in:
parent
7ef10e92da
commit
8b81267b0c
@ -184,6 +184,7 @@ class WebServer:
|
|||||||
['HTTP/1.1 200 OK', None],
|
['HTTP/1.1 200 OK', None],
|
||||||
['Content-Type', 'text/json'],
|
['Content-Type', 'text/json'],
|
||||||
['Access-Control-Allow-Origin', corsOrigin],
|
['Access-Control-Allow-Origin', corsOrigin],
|
||||||
|
['Access-Control-Allow-Headers', '*'],
|
||||||
['Content-Length', str(len(body))]
|
['Content-Length', str(len(body))]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user