There have been a lot of changes to the configuration in Javalin 5. One thing that used to work in previous versions is to "ignore trailing slashes" like this:
var javalin = Javalin.create(cfg -> {
cfg.ignoreTrailingSlashes = true;
}).start(8080);
But I cannot seem to find this setting in version 5. So the question is, how do you enable "ignore trailing slashes" in Javalin version 5?