We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa63224 commit 7416df7Copy full SHA for 7416df7
README.md
@@ -18,6 +18,7 @@ See the [Tutorial](TUTORIAL.md) to grasp the basics quickly.
18
```kotlin
19
fun main() {
20
Server().apply {
21
+ assets("/", AssetsHandler(Path.of("public"), useIndexForUnknownPaths = true))
22
context("/api") {
23
get("/hello") { "Hello, world!" }
24
}
0 commit comments