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
In a Spring Boot application, after setting a custom context root, e.g. in the application.properties file set server.servlet.context-path=/context
Router.go('') takes the user to the context root, i.e. '/' instead of /context.
To reproduce:
Download a Vaadin Fusion app from https://start.vaadin.com/, set a custom context root as described above. Call Router.go(''), see that it directs the user to localhost:8080 instead of localhost:8080/context.
The text was updated successfully, but these errors were encountered:
Keep in mind that this is nothing that can be determined on compile time, but instead can change on "deploy" - often this is changed with an external application.yml/properties depending on the provided server infrastructure, like e.g. / in development and /test or /prod for other environments.
In a Spring Boot application, after setting a custom context root, e.g. in the
application.properties
file setserver.servlet.context-path=/context
Router.go('')
takes the user to the context root, i.e. '/' instead of/context
.To reproduce:
Download a Vaadin Fusion app from https://start.vaadin.com/, set a custom context root as described above. Call
Router.go('')
, see that it directs the user tolocalhost:8080
instead oflocalhost:8080/context
.The text was updated successfully, but these errors were encountered: