Skip to content

Commit 03afd4b

Browse files
remove space in url
1 parent 50e46fe commit 03afd4b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

carrot/main.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,11 @@
1919
https_only=False,
2020
)
2121

22+
origins = [AUTH_SETTINGS.FRONTEND_URL.strip()]
23+
2224
app.add_middleware(
2325
CORSMiddleware,
24-
allow_origins=[AUTH_SETTINGS.FRONTEND_URL],
26+
allow_origins=origins,
2527
allow_credentials=True,
2628
allow_methods=["*"],
2729
allow_headers=["*"],

0 commit comments

Comments
 (0)