diff --git a/homepage/html/index.html b/homepage/html/index.html index 6cf7e9b..c86347e 100644 --- a/homepage/html/index.html +++ b/homepage/html/index.html @@ -20,7 +20,7 @@
- +
Map
@@ -46,7 +46,7 @@ Datapacks: % end Datapacks can be found on https://vanillatweaks.net/ - +
Download world
diff --git a/homepage/main.py b/homepage/main.py index dcfada3..cf41c9f 100644 --- a/homepage/main.py +++ b/homepage/main.py @@ -20,7 +20,7 @@ BG_IMAGES = listdir("./static/img/background") def index(): print(server_details()) players = currentPlayerData() - return template("html/index.html", **{"player_count": players["count"]["current"] , "max_players": players["count"]["max"], "news": news(), "donations": donations(), "server_details": server_details()}) + return template("html/index.html", **{"player_count": players["count"]["current"] , "max_players": players["count"]["max"], "news": news(), "donations": donations(), "server_details": server_details(), "map_url": CONFIG["external"]["map"], "map_download_url": CONFIG["external"]["map_download"]}) @route("/getPlayerSkins") def getPlayerSkins():