From 3506b2cfd2a284788737a0fa508a3870de5b8c5b Mon Sep 17 00:00:00 2001 From: Shivam Gutgutia Date: Sun, 17 Dec 2023 16:40:39 +0530 Subject: [PATCH] fix:cors --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 5ac3c22..9987622 100644 --- a/app.py +++ b/app.py @@ -7,7 +7,7 @@ load_dotenv() app= Flask(__name__) -CORS(app, resources={r"/*": {"origins": "https://contactify.codechefvit.com"}, "methods": ["GET", "POST"],}) +CORS(app, resources={r"/*": {"origins": "https://contactify.codechefvit.com", "methods": ["GET", "POST"]}}) app.config['MAX_CONTENT_LENGTH'] = 1024*1024*1024 @app.errorhandler(Exception)