Is there a more type-safe way to write this code w...
# announcements
l
Is there a more type-safe way to write this code with
kotlin-css
?
Copy code
style {
  backgroundImage = Image("url(static/main.jpeg)")
}
I already have the following route defined:
Copy code
static("static") {
  resources("img")
}
(img being the directory inside my resources where
main.jpeg
is)