Eduard Boloș
11/27/2018, 10:47 PMstatic("assets") {
staticRootFolder = File("public")
files("static")
}
The problem is that files are not resolved correctly. For instance, when I call /assets/static/file.txt on the server, I can see while debugging that in StaticContent.kt#L86
, the file is resolved to public/static/static/file.txt
instead of public/static/file.txt
as I would expect. Pretty much the folder name is duplicated. Any idea what might be wrong, or wether this could be a bug in Ktor?Eduard Boloș
11/29/2018, 7:00 AMstatic("assets") {
staticRootFolder = File("public")
static("static") {
files("static")
}
}