file

fun Route.file(remotePath: String, localPath: String = remotePath)(source)
fun Route.file(remotePath: String, localPath: File)(source)

Deprecated

Please use `staticFiles` instead

Sets up routing to serve localPath file as remotePath

Report a problem