Join Slack
Powered by
Is there a way to make the trailing `/` in routes ...
# ktor
b
ByteZ
01/29/2022, 3:39 PM
Is there a way to make the trailing
/
in routes optional? For example I want both
localhost/test
and
localhost/test/
to work.
a
Aleksei Tirman [JB]
01/29/2022, 3:42 PM
Yes.
https://kotlinlang.slack.com/archives/C0A974TJ9/p1643129602109000
b
ByteZ
01/29/2022, 3:49 PM
Oops didn't see that. Thanks!
2
Views
Open in Slack
Previous
Next