Fixing link in index.html

This commit is contained in:
David Négrier 2020-07-05 10:08:49 +02:00
parent 593363a42b
commit 5c6f1389e8
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
if (path.endsWith('index.html')) { if (path.endsWith('index.html')) {
path = path.substr(path, path.length - 'index.html'.length); path = path.substr(path, path.length - 'index.html'.length);
} }
var url = 'https://workadventu.re/_/global/'+window.location.host+path+'map.json'; var url = 'https://play.workadventu.re/_/global/'+window.location.host+path+'map.json';
document.getElementById('mapLink').href = url; document.getElementById('mapLink').href = url;
document.getElementById('mapLink').innerText = url; document.getElementById('mapLink').innerText = url;
}; };