Shane Schaefer
04/18/2024, 2:16 AMgame that contains index.html and protocol.js and I serve game/index.html file from the route /myGame , but then the client will request protocol.js from the root. Is there a good way to serve a set of static files that are all in the same subfolder in my project?Aleksei Tirman [JB]
04/18/2024, 6:59 AM/protocol.js requests:
routing {
get("/protocol.js") {
call.respondFile(File("game/protocol.js"))
}
staticFiles("/myGame", File("game"))
}