1
0

Add some css

This commit is contained in:
2020-09-10 15:25:40 +02:00
parent 7fc979053e
commit 9fb5e43a0b
13 changed files with 2036 additions and 25 deletions
+3 -1
View File
@@ -4,7 +4,9 @@ import io.javalin.Javalin
class Server(private val views: Views, private val conf: StarterConfig) {
fun run() {
val app = Javalin.create().start(7000)
val app = Javalin.create {
it.addStaticFiles("/assets")
}.start(7000)
app.get("/") { ctx ->
ctx.result(views.index(conf.dependencies, conf.inputs))