NASA-IMPACT / veda-backend

Backend services for VEDA
Other
9 stars 5 forks source link

fix(stac-api): next link and trailing slash bug in stac api url #358

Closed anayeaye closed 2 months ago

anayeaye commented 2 months ago

What

Fix problem in which a stac-fastapi deployed behind a proxy (i.e. customdomain.com) with a custom root path (i.e. /api/stac)

The correction is to remove the gateway configuration from the Mangum ASGI handler for the stac-api handler.

Refs

Issue

https://github.com/NASA-IMPACT/veda-backend/issues/343

Testing?