Hi,
Use case:
We have a static folder with an index.html file with a modern framework like angular5... how can we get wildcards such that we can have a catch all route for a particular static file?
localhost/somepath -> static/index.html
@nmpribeiro Static files are handled by Jetty, so what you can do is a little limited. I would suggest one of
app.get("*", ctx -> ctx.redirect("/index.html")); app.get("*", ctx -> ctx.html(readFile("/path/to/index.html"))); I see... those should work fine I see. Thanks @tipsy