Skip to content

Commit 2fae737

Browse files
Merge pull request #73 from KeithKelleher/main
add CORS support for graphql API
2 parents f8d2de9 + 9b55862 commit 2fae737

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/use_cases/api/host_graphql_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def get_context(request: Request):
3535

3636
app.add_middleware(
3737
CORSMiddleware,
38-
allow_origins=["http://localhost:4200"],
38+
allow_origins=["*"],
3939
allow_credentials=True,
4040
allow_methods=["*"],
4141
allow_headers=["*"],

0 commit comments

Comments
 (0)