diff options
author | Renard | 2019-09-09 22:38:28 -0300 |
---|---|---|
committer | Renard | 2019-09-09 22:38:28 -0300 |
commit | 4e99567cbfadf55115a189894eaf382641b5b7da (patch) | |
tree | f5086e54e68c2d8800255a6ef5f70def59161b93 /cgi | |
parent | 4a8caf00628313540c9a0e9d101344a673915b0f (diff) | |
download | weabot-4e99567cbfadf55115a189894eaf382641b5b7da.tar.gz weabot-4e99567cbfadf55115a189894eaf382641b5b7da.tar.xz weabot-4e99567cbfadf55115a189894eaf382641b5b7da.zip |
CORB test fix
Diffstat (limited to 'cgi')
-rwxr-xr-x | cgi/weabot.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi/weabot.py b/cgi/weabot.py index d504409..b0599e1 100755 --- a/cgi/weabot.py +++ b/cgi/weabot.py @@ -182,7 +182,7 @@ class weabot(object): elif path_split[1] == "api": import api caught = True - self.headers = [("Content-Type", "application/json")] + self.headers = [("Content-Type", "application/json"), ("Access-Control-Allow-Origin", "*")] OpenDb() api.api(self, path_split) elif path_split[1] == "threadlist": |