Use static reference instead of local

This commit is contained in:
KingRainbow44 2022-02-01 14:00:00 +01:00
parent b34ab5f8ec
commit 05527fcb7c

View File

@ -35,7 +35,7 @@ public final class GachaHandler implements Router {
express.get("/gacha", GachaHandler::gachaRecords);
express.get("/gacha/details", GachaHandler::gachaDetails);
express.useStaticFallback("/gacha/mappings", this.gachaMappings, Location.EXTERNAL);
express.useStaticFallback("/gacha/mappings", gachaMappings, Location.EXTERNAL);
}
private static void gachaRecords(Request request, Response response) {