diff --git a/server.py b/server.py index 882e1fa..9b8abf9 100644 --- a/server.py +++ b/server.py @@ -20,6 +20,7 @@ api_auth = json.loads(os.environ['API_AUTH']) app = Sanic('e621_bot_api') app.config.CORS_ORIGINS = '*' +app.config.CORS_HEADERS = 'Authorization, *' app.config.update({ 'REDIS': 'redis://localhost', })