From 44dfc70ac1bf8c4ed5f4ee803795b1e0e8c3d59c Mon Sep 17 00:00:00 2001 From: Shivam Gutgutia Date: Tue, 23 Apr 2024 23:43:52 +0530 Subject: [PATCH] Fix:CORS issue --- app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index c0b3cde..f6cd255 100644 --- a/app.py +++ b/app.py @@ -7,8 +7,8 @@ app= Flask(__name__) -#CORS(app) -CORS(app, resources={r"/*": {"origins": "https://contactify.codechefvit.com", "methods": ["GET", "POST"]}}) +CORS(app) +#CORS(app, resources={r"/*": {"origins": "https://contactify.codechefvit.com", "methods": ["GET", "POST"]}}) app.config['MAX_CONTENT_LENGTH'] = 1024*1024*1024 # def check_origin():