Skip to content

Commit

Permalink
hotfix: cors regex mismatch
Browse files Browse the repository at this point in the history
  • Loading branch information
pallabez committed Nov 27, 2023
1 parent 673b7a7 commit 6696f10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@
}

CORS_ALLOWED_ORIGIN_REGEXES = [
r"^http:\/\/localhost:\d{4}$",
r"^https:\/\/\w+\.realdevsquad\.com$"
r"^http://localhost:\d{4}$",
r"^https://[\w-]+\.realdevsquad\.com$"
]

SIMPLE_JWT = {
Expand Down

0 comments on commit 6696f10

Please sign in to comment.