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
The webpage fails to load when using http://localhost:7001/ui, because the relative URIs cannot be resolved correctly in this case. Normally, the webserver should redirect this URI to either http://localhost:7001/ui/ (note the slash at the end) or http://localhost:7001/ui/index.html
Reported by Martin Sladecek
The text was updated successfully, but these errors were encountered:
Fixed by redirecting to /ui/ in case a default page exists and then serving the content.
Also added support for "server.base-path" in MP configuration.
If base path is configured, the root path will redirect to this path, e.g.
server.port: 8080
server.host: localhost
server.base-path: /ui/
When statically serving a webpage (with index.html + js and other resources), by using the following property:
and having something like this in the index.html
The webpage fails to load when using
http://localhost:7001/ui
, because the relative URIs cannot be resolved correctly in this case. Normally, the webserver should redirect this URI to eitherhttp://localhost:7001/ui/
(note the slash at the end) orhttp://localhost:7001/ui/index.html
Reported by Martin Sladecek
The text was updated successfully, but these errors were encountered: