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 b3c0eba commit 63336a1Copy full SHA for 63336a1
stac_fastapi/pgstac/app.py
@@ -186,6 +186,7 @@ async def lifespan(app: FastAPI):
186
CORSMiddleware,
187
allow_origins=settings.cors_origins,
188
allow_methods=settings.cors_methods,
189
+ allow_credentials=settings.cors_credentials,
190
),
191
],
192
health_check=health_check,
stac_fastapi/pgstac/config.py
@@ -170,6 +170,7 @@ class Settings(ApiSettings):
170
171
cors_origins: str = "*"
172
cors_methods: str = "GET,POST,OPTIONS"
173
+ cors_credentials: bool = False
174
175
testing: bool = False
176
0 commit comments