fix the url link for the tcm exit in the corridor map

This commit is contained in:
David Perez 2020-07-08 10:37:34 +02:00
parent 8f895fb50a
commit e605e3f550
2010 changed files with 1128976 additions and 268 deletions

View file

@ -0,0 +1,20 @@
<html>
<head>
<script>
window.onload = function() {
var path = window.location.pathname;
if (path.endsWith('index.html')) {
path = path.substr(path, path.length - 'index.html'.length);
}
var url = 'https://workadventu.re/_/global/'+window.location.host+path+'map.json';
document.getElementById('mapLink').href = url;
document.getElementById('mapLink').innerText = url;
};
</script>
</head>
<body>
This website contains a map for <a href="https://workadventu.re">Workadventu.re</a>.
<br/>
You can access this map at <a id="mapLink" href=""></a>
</body>
</html>