resource

fun Route.resource(remotePath: String, resource: String = remotePath, resourcePackage: String? = null)

Deprecated

Please use `staticResources` instead

Sets up routing to serve resource as remotePath in resourcePackage