andylamax
04/30/2021, 6:19 PMrouting {
get("/") {
// this works as expected
}
static("/") {
// I have this as well
}
//and
get("/config/{file}") {
// overridden by static("/")
}
}
Question is, how do I implement both static("/")
overriding my get("/config/{file}")
. With both of them existing, ,aking a get request to /config/user1
returns not fount. I am assuming it is looking to the files served as static resources. Help?Robert Jaros
04/30/2021, 7:31 PMRustam Siniukov
04/30/2021, 7:49 PMandylamax
05/01/2021, 7:24 PM