Setting application.path to /something the following redirect doesn't work:
{
get("/success", () -> "OK");
get("/redirect", () -> Results.redirect("/success"))
}
The /redirect path doesn't work bc context path is missing :S
As a workaround we need to set/specify the context path:
get("/redirect", () -> Results.redirect("/something/success"))
But this shoud be done automatically