mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-11-07 03:10:56 +01:00
Fixed exported player page not loading json
This commit is contained in:
parent
757a31cfa6
commit
7325a92b56
@ -121,7 +121,7 @@ public class PlayerPageExporter extends FileExporter {
|
||||
String jsonResourceName = toFileName(toJSONResourceName(resource)) + ".json";
|
||||
|
||||
export(toDirectory.resolve(jsonResourceName), found.get().getBytes());
|
||||
exportPaths.put("../v1/player?player=" + playerName, "./" + jsonResourceName);
|
||||
exportPaths.put("../v1/player?player=${encodeURIComponent(playerName)}", "./" + jsonResourceName);
|
||||
}
|
||||
|
||||
private String toJSONResourceName(String resource) {
|
||||
|
Loading…
Reference in New Issue
Block a user