mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-30 21:17:49 +01:00
Fixed export not replacing players json url
Some long term solution for issues like this should be figured out at some point (automated tests maybe?) Affects issues: - Fixed #1313
This commit is contained in:
parent
6dd5f7c7d9
commit
be0fab2f6b
@ -111,7 +111,7 @@ public class PlayersPageExporter extends FileExporter {
|
||||
// Replace ../player in urls to fix player page links
|
||||
StringUtils.replace(found.getContent(), "../player", toRelativePathFromRoot("player"))
|
||||
);
|
||||
exportPaths.put("../v1/players", toRelativePathFromRoot("data/" + jsonResourceName));
|
||||
exportPaths.put("./v1/players", toRelativePathFromRoot("data/" + jsonResourceName));
|
||||
}
|
||||
|
||||
private String toJSONResourceName(String resource) {
|
||||
|
Loading…
Reference in New Issue
Block a user