Skip to content

Commit

Permalink
fix:cors
Browse files Browse the repository at this point in the history
  • Loading branch information
shivamgutgutia committed Dec 17, 2023
1 parent 20665c7 commit 3506b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 3506b2c

Please sign in to comment.