mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-09-11 09:48:55 +03:00
Use static reference instead of local
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user