defaultResource

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

Deprecated

Please use `staticResources` instead

Specifies resource as a default resources to serve when folder is requested