Skip to content
This repository has been archived by the owner on Dec 31, 2023. It is now read-only.

Commit

Permalink
Add Access-Control-Allow-Headers * (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coobaha authored Feb 21, 2021
1 parent 7ef10e9 commit 8b81267
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugin/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ def handlerWrapper(self, req):
['HTTP/1.1 200 OK', None],
['Content-Type', 'text/json'],
['Access-Control-Allow-Origin', corsOrigin],
['Access-Control-Allow-Headers', '*'],
['Content-Length', str(len(body))]
]

Expand Down

0 comments on commit 8b81267

Please sign in to comment.