Pim
02/11/2025, 10:02 AM“/“
and on “/test”
.
The thing is I’d like both to listen also to any extra path segment. The problem is that I can’t listen for “/*”
and “/test/*”
because the latter is covered by the first.
Does this mean I’d need to use regexes for the path definitions in the routes?Aleksei Tirman [JB]
02/11/2025, 11:09 AMrouting {
get("/{...}") {
// myHandle()
}
get("/test/{...}") {
// myHandle()
}
}
Aleksei Tirman [JB]
02/11/2025, 11:10 AMPim
02/11/2025, 12:45 PM