This repository was archived by the owner on Dec 19, 2023. It is now read-only.
This repository was archived by the owner on Dec 19, 2023. It is now read-only.
Voyager static resources not served if app context is not root #125
Closed
Description
When the application has a context different than root Voyager fails to start because its static resources are not found 404. This is because the HTML is configured as they were always in the root directory which is not the case.
Steps to reproduce:
- Define a context for your application (eg. "abc")
- configure your context-path accordingly (server.servlet.context-path=/abc)
- start your application
- navigate to voyager (http://localhost:8080/abc/voyager
- start your application and specify a context: -Dserver.servlet.context-path=<your_context>
- navigate to http://localhost:8080/abc/voyager
Static resources will fail with a 404
Voyager won't start