Add configuration for which application is served at `/`
It should be configurable what application (or resource) to be served at /
. At the moment nothing is served (error: "null for uri: http://localhost:8080/"
).
Introduce a new config property dmx.webservice.default_route
. Default value would be systems.dmx.webclient/
.
Objectives:
-
This feature is needed for #511 (closed). The backend needs to know where to redirect when
/
is requested. In the scope of #511 (closed) a frontend application will request/
in order to reinitialize the application after a server outage. -
For the user it is more convenient to open the default application just by e.g.
localhost:8080
instead oflocalhost:8080/systems.dmx.webclient/
.
Note: in deployment scenarios where DMX is run behind a reverse proxy the proxy configuration can serve the same purpose. Still this feature is needed for the (out of the box) "DMX Standard Installation". To my understanding the new feature will not interfere with existing proxy configurations.
@jpn FYI