diff options
-rw-r--r-- | backend/__init__.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/__init__.py b/backend/__init__.py index 7b4cb4d..67de26d 100644 --- a/backend/__init__.py +++ b/backend/__init__.py @@ -15,6 +15,9 @@ middleware = [ allow_origins=[ os.getenv("ALLOWED_URL", "https://forms.pythondiscord.com"), ], + allow_origin_regex=[ + r"https://(?:.*--)?pydis-forms\.netlify\.app/", + ], allow_headers=[ "Authorization", "Content-Type" |