Fix gacha mappings static file issue

This commit is contained in:
KingRainbow44 2023-05-13 17:05:07 -04:00
parent 155ca8cddd
commit d20f63e835
No known key found for this signature in database
GPG Key ID: FC2CB64B00D257BE

View File

@ -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;
});
}