file

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

Deprecated

Please use `staticFiles` instead

Sets up routing to serve localPath file as remotePath