Ktor Static Content

Last modified: 13 February 2025

You can add static content to your ktor route like this by hand:

Adding a Kobold to your code will generate the same thing:

This example shows mapping the KMP Wasm output to the / path which is all you need to run a Compose web app.