@Robert Jaros Thanks for your suggestion, however as @Rustam Siniukov pointed out, The order did not matter a lot with ktor 1.5.3, downgrading to 1.4.3, and putting static at the end solved the problem. Thank you all for your support
andylamax
05/01/2021, 7:38 PM
After playing a bit with different versions of ktor, I have seen it to be working as expected upto ktor verision 1.5.0. ktor 1.5.1-1.5.3 breaks and doesn't properly resolve this