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