Commit 05527fcb authored by KingRainbow44's avatar KingRainbow44
Browse files

Use static reference instead of local

parent b34ab5f8
...@@ -35,7 +35,7 @@ public final class GachaHandler implements Router { ...@@ -35,7 +35,7 @@ public final class GachaHandler implements Router {
express.get("/gacha", GachaHandler::gachaRecords); express.get("/gacha", GachaHandler::gachaRecords);
express.get("/gacha/details", GachaHandler::gachaDetails); 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) { private static void gachaRecords(Request request, Response response) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment