Join Slack
Powered by
It's very error prone to mix static resources and ...
# ktor
o
orangy
06/21/2017, 4:05 PM
It's very error prone to mix static resources and other routes. What if you later create a file with the
login
name? There is no sane rule (that I know) that could resolve a lot of ambiguities that happen here. I suggest using
static("public")
instead and serving all static resources under
your.site.com/public
3
Views
Open in Slack
Previous
Next