Hello, We're using SimpleServerFactory and running on heroku, and would like the root url (eg https://my-dropwizard-app.herokuapp.com ) to redirect to the applicationContextPath (eg https://my-dropwizard-app.herokuapp.com/application ) rather than always return a 404. It looks like this can be done by subclassing SimpleServerFactory and overriding the `build` method to copy/paste everything with an additional `ContextRoutingHandler` map entry that handles "/" with a Handler that returns a 302 redirect to the applicationContextPath, but would prefer to not have to duplicate the `build` method logic. Is there a hook that we're missing that would solve this issue differently? If not, would it make sense to add a way for applications to configure the SimpleServerFactory to handle the root URI?
Thanks, -Joe -- You received this message because you are subscribed to the Google Groups "dropwizard-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dropwizard-user/d916938d-cd43-425b-867e-e1ec6e80d864%40googlegroups.com.
