Behind a custom domain name #199
Unanswered
ohad-griiip
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a fastapi app deployed as a lambda using mangum.
I set the
root_path
as the stage in api gateway so that the/openapi.json
and/docs
work correctly.🐼 My problem is when I do custom domain mapping and put this app under a dns.
So I have a mapping like:
The app is forwarded requests with the mapping prefix which causes a problem.
I've now discovered the
api_gateway_base_path
which solves this but I'm still having a problem displaying the/docs
since it looks up the openapi.json atROOT_PATH/openapi.json
.I'm not sure if it's fastapi or here but help here would be very appreciated ✨
Beta Was this translation helpful? Give feedback.
All reactions