ktor-server-core / io.ktor.http.content / default

default

fun Route.default(localPath: String): Unit
fun Route.default(localPath: File): Unit

Specifies localPath as a default file to serve when folder is requested