Skip to content

Commit

Permalink
Fix CORS URLs in Backend (#133)
Browse files Browse the repository at this point in the history
* Very meaningful change

* Another meaningful change

* Another meaningful change

* Another meaningful change

* Fix CORS URLs
  • Loading branch information
ColinToft authored May 31, 2024
1 parent e1ed8b2 commit baf4558
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/app/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ def create_app(config_name):

app.config["CORS_ORIGINS"] = [
"http://localhost:3000",
"https://uw-blueprint-starter-code.firebaseapp.com",
"https://uw-blueprint-starter-code.web.app",
re.compile(r"^https:\/\/uw-blueprint-starter-code--pr.*\.web\.app$"),
"https://feeding-canadian-kids-staging.firebaseapp.com",
"https://feeding-canadian-kids-staging.web.app",
re.compile(r"^https:\/\/feeding-canadian-kids-staging--pr.*\.web\.app$"),
]
app.config["CORS_SUPPORTS_CREDENTIALS"] = True
app.config["SCHEDULER_API_ENABLED"] = True
Expand Down

0 comments on commit baf4558

Please sign in to comment.