mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-12-16 08:56:04 +01:00
Fix gacha mappings static file issue
This commit is contained in:
@@ -146,8 +146,8 @@ public final class GachaHandler implements Router {
|
||||
javalin.get("/gacha/details", GachaHandler::gachaDetails);
|
||||
|
||||
javalin.cfg.staticFiles.add(cfg -> {
|
||||
cfg.hostedPath = gachaMappingsPath.toString();
|
||||
cfg.directory = "/gacha/mappings";
|
||||
cfg.hostedPath = "/gacha/mappings";
|
||||
cfg.directory = gachaMappingsPath.toString();
|
||||
cfg.location = Location.EXTERNAL;
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user