I'm using Ktor as the server for a React app, so I...
# ktor
r
I'm using Ktor as the server for a React app, so I basically have a routing for static files (
static("/assets")
), then for data (
get("/data")
), and I want to respond with the index.html for everything else. How do I do that? For now I respond to get on
/
with
resource("/", "static/index.html")
and it works, but
*
doesn't work here