From 4e99567cbfadf55115a189894eaf382641b5b7da Mon Sep 17 00:00:00 2001 From: Renard Date: Mon, 9 Sep 2019 22:38:28 -0300 Subject: CORB test fix --- cgi/weabot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cgi') 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": -- cgit v1.2.1-18-gbd029