Write the code that will respond with some file:
get("/download") {
val file = File("logo.png")
/* your code here */
}Write the code that will respond with some file:
get("/download") {
val file = File("logo.png")
/* your code here */
}Create a free account to access the full topic