orangy
resource
instead of file
in static sectionmiha-x64
11/21/2017, 2:04 PMprintln(String(javaClass.classLoader.getResourceAsStream("static/dashboard.css").readAllBytes()))
— OK, dumps file into log.
static { resource("static") }
/ GET /static/dashboard.css
— 404cy
11/21/2017, 2:41 PMresources()
instead of resource()
? I believe that the second one does only serve single resourcecy
11/21/2017, 2:42 PMfile()
- resource()
and files()
- resources()
orangy
miha-x64
11/21/2017, 4:16 PM