mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-23 01:22:54 +00:00
Fix gacha mappings static file issue
This commit is contained in:
parent
155ca8cddd
commit
d20f63e835
@ -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;
|
||||
});
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user