file

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

Deprecated

Please use `staticFiles` instead

Sets up routing to serve localPath file as remotePath