-
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
[2.3.x] Add root path for Quinoa Web UI #696
Conversation
This adds the quarkus.quinoa.ui-root-path property which is the path for hosting the Web UI. The quarkus.quinoa.ignored-path-prefixes property is always relative to quarkus.quinoa.ui-root-path. The quarkus.http.non-application-root-path is not added to the default ignores if it is not relative to quarkus.http.root-path.
I will wait for @ia3andy review and once its all done I will cut a 2.3.X release with your great fix! |
I will not have time today, if you tested it @melloware I approve the code part |
@liquidnya congratulation for getting this in, this is a very nice contribution and thank you 🚀🎉 |
@liquidnya would you care to join the quarkus zulip? |
I tried to cut a release of 2.3 but it failed for Quarkus invalid token which Max is fixing I will try again today |
Describe your changes
This is a back-port of #691 to the
2.3.x
branch.Note that if the
quarkus.quinoa.ui-root-path=/foo
is set, thenhttp://localhost:8080/foo
redirects tohttp://localhost:8080/foo/
to serve theindex.html
file in production mode.This happens, because in production mode
io.vertx.ext.web.handler.StaticHandler
is used to serve files which already implements this behavior.Fixes Issue
Fixes #302
Check List (Check all the applicable boxes)