mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 11:26:07 +00:00
Use static reference instead of local
This commit is contained in:
parent
b34ab5f8ec
commit
05527fcb7c
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user