Skip to content

Commit 1f42fad

Browse files
committed
feat(cors): update to allow mountain madness changes
1 parent 73805a5 commit 1f42fad

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

src/main.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@
3434
# if on production, disable viewing the docs
3535
else:
3636
print("Running production environment")
37-
origins = ["https://sfucsss.org", "https://test.sfucsss.org", "https://admin.sfucsss.org"]
37+
origins = [
38+
"https://sfucsss.org",
39+
"https://test.sfucsss.org",
40+
"https://admin.sfucsss.org",
41+
"https://madness.sfucsss.org",
42+
]
3843
app = FastAPI(
3944
lifespan=database.lifespan,
4045
title="CSSS Site Backend",

0 commit comments

Comments
 (0)