Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhrumilp12 committed Sep 3, 2024
1 parent 460a152 commit 1fb90d0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions server/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,8 @@ def run_app():
mail = Mail(app)
jwt = JWTManager(app)
cors_config = {

r"*": {
"origins": ["https://mental-health-app-web.azurewebsites.net", "http://localhost:3000"],
"origins": [os.getenv("BASE_URL")],
"methods": ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"],
"allow_headers": [
"Authorization",
Expand Down

0 comments on commit 1fb90d0

Please sign in to comment.