https://kotlinlang.org logo
#ktor
Title
# ktor
j

John O'Reilly

11/23/2021, 9:59 AM
We're using
staticRootFolder
right now as part of Ktor server. Not sure this question makes sense....but wondering if there should be way to specify multiple folders?
a

Aleksei Tirman [JB]

11/23/2021, 12:46 PM
For each route you can specify its own
staticRootFolder
. What problem are you trying to solve?
j

John O'Reilly

11/23/2021, 1:51 PM
Thanks @Aleksei Tirman [JB], I think maybe I haven't thinking about this the right way.....had in my head for some reason we could only have single
static
block (that had then a
staticRootFolder
) ....but I guess I can created multiple ones....
5 Views