From 57f54566ec976a99c9753145c0863a2f1bd406f6 Mon Sep 17 00:00:00 2001 From: lance Date: Mon, 11 Mar 2019 00:47:54 -0700 Subject: [PATCH] add cors to example conf --- zappa_settings.example.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zappa_settings.example.json b/zappa_settings.example.json index c7dba42..1d27960 100644 --- a/zappa_settings.example.json +++ b/zappa_settings.example.json @@ -7,6 +7,11 @@ "log_level": "INFO", "runtime": "python3.6", "s3_bucket": "##CHANGEME##", + "cors": { + "allowed_headers": ["content-type"], + "allowed_methods": ["*"], + "allowed_origin": "*" + }, "environment_variables": { "FLASK_SECRETS": "config.py" },