diff --git a/app.py b/app.py index 3688b3f..5ac3c22 100644 --- a/app.py +++ b/app.py @@ -7,7 +7,7 @@ load_dotenv() app= Flask(__name__) -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)