// TODO: Only serve the html page and have a subsequent request to fetch the gacha data.
// TODO: Only serve the html page and have a subsequent request to fetch the gacha data.
httpServer.get("/gacha",newGachaRecordHandler());
httpServer.get("/gacha",newGachaRecordHandler());
if(!(newFile(gachaMappingsPath).exists())){
if(!(newFile(gachaMappingsPath).exists())){
...
@@ -462,7 +448,7 @@ public final class DispatchServer {
...
@@ -462,7 +448,7 @@ public final class DispatchServer {
// static file support for plugins
// static file support for plugins
httpServer.raw().config.precompressStaticFiles=false;// If this isn't set to false, files such as images may appear corrupted when serving static files
httpServer.raw().config.precompressStaticFiles=false;// If this isn't set to false, files such as images may appear corrupted when serving static files