We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e85a7e7 commit 11bb546Copy full SHA for 11bb546
webproj/api.py
@@ -79,8 +79,6 @@ def token_query_param(
79
docs_url="/documentation",
80
dependencies=[Depends(token_header_param), Depends(token_query_param)],
81
)
82
-origins = ["*"]
83
-app.add_middleware(CORSMiddleware, allow_origins=origins)
84
app.add_middleware(ProxyHeadersMiddleware, trusted_hosts="127.0.0.1")
85
86
_DATA = Path(__file__).parent / Path("data.json")
0 commit comments