Skip to content

Commit 8bae8cf

Browse files
authored
Merge pull request #41 from stenwire/main
config: update CORS to allow all origins.
2 parents b241c87 + 4785b31 commit 8bae8cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/app/main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878

7979
app.add_middleware(
8080
CORSMiddleware,
81-
allow_origins=origins,
81+
allow_origin_regex=".*",
8282
allow_credentials=True,
8383
allow_methods=["*"],
8484
allow_headers=["*"],

0 commit comments

Comments
 (0)