file

fun <Error class: unknown class>.file(remotePath: String, localPath: String = remotePath)(source)
fun <Error class: unknown class>.file(remotePath: String, localPath: File)(source)

Deprecated

Please use `staticFiles` instead

Sets up routing to serve localPath file as remotePath

Report a problem