From 750ad73cb7e81bf02c812346267a3726d57bb84e Mon Sep 17 00:00:00 2001 From: Shivam Gutgutia Date: Sun, 17 Dec 2023 16:51:48 +0530 Subject: [PATCH] temporary removed cors --- app.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 9987622..d10c68e 100644 --- a/app.py +++ b/app.py @@ -7,7 +7,8 @@ load_dotenv() app= Flask(__name__) -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 @app.errorhandler(Exception)