Working on static content DSL right now
# ktor
o
Working on static content DSL right now
h
in what sense?
o
Copy code
static("/files") {
                files(basedir)
            }
            static("/selected", basedir) {
                files("http")
                file("routing/RoutingBuildTest.kt")
                folder("virtual") {
                    default("http/CodecTest.kt")
                    file("foobar.kt", "routing/RoutingBuildTest.kt")
                }
            }
            static(basedir) {
                file("foobar.kt", "routing/RoutingBuildTest.kt")
            }
Like this (prototype dsl)