Gunslingor
08/09/2020, 5:35 PMGunslingor
08/09/2020, 5:39 PMRobert Jaros
08/09/2020, 6:07 PMGunslingor
08/09/2020, 6:09 PMRobert Jaros
08/09/2020, 6:10 PMRobert Jaros
08/09/2020, 6:11 PMGunslingor
08/09/2020, 6:12 PMRobert Jaros
08/09/2020, 6:12 PMGunslingor
08/09/2020, 6:14 PMRobert Jaros
08/09/2020, 6:16 PMRobert Jaros
08/09/2020, 6:17 PMGunslingor
08/09/2020, 6:17 PMRobert Jaros
08/09/2020, 6:17 PMGunslingor
08/09/2020, 6:18 PMRobert Jaros
08/09/2020, 6:18 PMGunslingor
08/09/2020, 6:18 PMGunslingor
08/09/2020, 6:18 PMGunslingor
08/09/2020, 6:19 PMRobert Jaros
08/09/2020, 6:22 PM/web/static/index.html
to work?Gunslingor
08/09/2020, 6:22 PMGunslingor
08/09/2020, 6:23 PMRobert Jaros
08/09/2020, 6:23 PMresources("web")
instead of files("web")
?Robert Jaros
08/09/2020, 6:24 PMrouting {
static("/") {
resources("assets")
defaultResource("assets/index.html")
}
}
Gunslingor
08/09/2020, 6:25 PMGunslingor
08/09/2020, 6:27 PMstatic("/") {
resources("web")
defaultResource("web/index.html")
}
This does work for serving up my first file in a comprehendable way... will be curious to see what happens when I package this up in jars and wars using some other gradle plugin ,lolRobert Jaros
08/09/2020, 6:29 PMRobert Jaros
08/09/2020, 6:29 PMGunslingor
08/09/2020, 6:30 PMGunslingor
08/09/2020, 6:31 PMGunslingor
08/09/2020, 6:31 PMGunslingor
08/09/2020, 6:37 PMSam
08/10/2020, 4:46 AMGunslingor
08/10/2020, 6:31 AMdarkmoon_uk
08/10/2020, 7:30 AMdarkmoon_uk
08/10/2020, 7:32 AMdarkmoon_uk
08/10/2020, 7:33 AMdarkmoon_uk
08/10/2020, 7:33 AMdarkmoon_uk
08/10/2020, 7:34 AMGunslingor
08/10/2020, 1:02 PMGunslingor
08/10/2020, 1:06 PMfun main() {
document.addEventListener("DOMContentLoaded", {