staticAssets

fun Application.staticAssets(path: String, configure: StaticAssetBuilder.() -> Unit): Application

Configures static asset serving for a specified path with custom asset settings.

Parameters

path

The URL path that will serve the assets.

configure

A block of configuration for setting up static assets.