-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Respect externally set prefixes #162
base: main
Are you sure you want to change the base?
Conversation
This doesn't work, swagger ui and scalar should append from the browser URL, not server. |
Updated. Now this work with externally set prefix (from reverse proxy), but I'm not sure to get the root Elysia app prefix after your change in ebf0e54 where elysia-swagger creates it's own Elysia instance. |
Just want to bump this, I use supabase functions and have a prefix on the root elysia instance, so my swagger ends up living at |
Is there any expected merge date for this? I just hit this hurdle when using prefix and using the documentation since our projects are separated by services and it fetches the wrong json url |
Fixes elysiajs#161. This will also work when you don't specify any prefix to Elysia but uses Traefik Middlewares to strip /api prefix too.
Fixes #161.
This will also work when you don't specify any prefix to Elysia but uses Traefik Middlewares to strip /api prefix too.