You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using custom API domain in API Gateway the FastAPI application (starlette) will still receive the api gateway hostname and thus use it internally (e.g if you have an endpoint that construct other endpoint url, it will return the API gateway url instead of you custom domain name)
When using custom API domain in API Gateway the FastAPI application (starlette) will still receive the api gateway hostname and thus use it internally (e.g if you have an endpoint that construct other endpoint url, it will return the API gateway url instead of you custom domain name)
e.g titiler
☝️ this is giving the correct result (stac.eoapi.dev hostname) because I've manually added custom parameter mapping in the API Gateway console:
I believe we can automatically create this in 👇
eoapi-cdk/lib/stac-api/index.ts
Lines 60 to 65 in a1081a2
with:
https://constructs.dev/packages/@aws-cdk/aws-apigatewayv2/v/1.204.0/api/ParameterMapping?lang=typescript
The text was updated successfully, but these errors were encountered: