Fixed exported /players page

This commit is contained in:
Rsl1122 2019-10-02 20:10:32 +03:00
parent fb205cb3e0
commit 9520f95f36

View File

@ -83,7 +83,7 @@ public class PlayersPageExporter extends FileExporter {
Database.State dbState = dbSystem.getDatabase().getState();
if (dbState == Database.State.CLOSED || dbState == Database.State.CLOSING) return;
exportPaths.put("/", toRelativePathFromRoot(serverInfo.getServer().isProxy() ? "network" : "server"));
exportPaths.put("href=\"/\"", "href=\"" + toRelativePathFromRoot(serverInfo.getServer().isProxy() ? "network" : "server") + '"');
exportRequiredResources(toDirectory);
exportJSON(toDirectory);
exportHtml(toDirectory);