generated from fastify/skeleton
-
Notifications
You must be signed in to change notification settings - Fork 42
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
plugin config routePrefix
breaks the page
#165
Comments
It works on version |
Thanks for reporting! Would you like to send a Pull Request to address this issue? Remember to add unit tests. |
miraries
added a commit
to miraries/fastify-swagger-ui
that referenced
this issue
Aug 3, 2024
4 tasks
mcollina
pushed a commit
that referenced
this issue
Aug 14, 2024
mcollina
pushed a commit
that referenced
this issue
Aug 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Prerequisites
Fastify version
4.28.1
Plugin version
4.0.1
Node.js version
20.x
Operating system
macOS
Operating system version (i.e. 20.04, 11.3, 10)
14.5
Description
When we config the
routePrefix
parameter like belowIt breaks the documentation page as the css/js resource double the
api
prefix.The resource can be visited by manually twisting the url
Removing the
routePrefix
, the documentation can be rendered correctlyLink to code that reproduces the bug
No response
Expected Behavior
The documentation page should be rendered correctly even with
routePrefix
configThe text was updated successfully, but these errors were encountered: