static

fun Routing.static(configure: Routing.() -> Unit): Routing

Deprecated

Please use `staticFiles` or `staticResources` instead

Create a block for static content


fun Routing.static(remotePath: String, configure: Routing.() -> Unit): Routing

Deprecated

Please use `staticFiles` or `staticResources` instead

Create a block for static content at specified remotePath