diff --git a/website/freddit.net/index.html b/website/freddit.net/index.html index 9f34edc..f9f17c4 100644 --- a/website/freddit.net/index.html +++ b/website/freddit.net/index.html @@ -61,8 +61,8 @@ const mcapi = 'https://eu.mc-api.net/v3/server' const servers = [ - {'name': 'Freddit Freebuild', 'address': 'play.freddit.net'}, - {'name': 'Freddit Survival', 'address': 'survival.freddit.net'} + {'name': 'Freddit Freebuild', 'address': 'play.freddit.net', 'map_url': 'https://map.freddit.net'}, + {'name': 'Freddit Survival', 'address': 'survival.freddit.net', 'map_url': 'https://survivalmap.freddit.net'} ] @@ -73,7 +73,7 @@ toast.show(); } - const serverStatusCardHTML = (server_name, server_address, status, players, version) => { + const serverStatusCardHTML = (server_name, server_address, status, map_url, players, version) => { return `
${players} player${players !== 1 ? 's' : ''} online
+