rc3-map/index.html

21 lines
756 B
HTML
Raw Normal View History

2020-05-23 22:37:55 +02:00
<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>
2020-05-23 22:37:55 +02:00
<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>
2020-05-23 22:37:55 +02:00
</body>
</html>