ktor-server-core / io.ktor.http.content / resource

resource

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

Sets up routing to serve resource as remotePath in resourcePackage