ribesg
02/24/2018, 11:03 AMresource("/{...}", "static/index.html")
.
My problem was that I was trying to use resource("*", "static/index.html")
or resource("/*", "static/index.html")
, but it doesn't work as /*
matches /a
but not /a/b
. Something like /**
would make much more sense than /{...}
imhoorangy
{...}
is a shortcut for {param...}
(like varargs) when you want to capture values for the matched path parts. **
could be an alias indeed, but is it more discoverable?ribesg
02/27/2018, 7:15 AM*
actually did, I immediately tried **
. I don't know why it feels natural to me.ribesg
02/27/2018, 7:16 AM{...}
comes fromr4zzz4k
02/27/2018, 6:59 PM/{...}
.orangy
r4zzz4k
02/27/2018, 8:47 PM