mirror of
https://github.com/ChaosChemnitz/workadventure-map.git
synced 2025-06-28 19:36:11 +02:00
Lokomov dabei
This commit is contained in:
parent
6840a8196f
commit
dc3e5ef6ec
16 changed files with 2732 additions and 0 deletions
20
lokomov/index.html
Normal file
20
lokomov/index.html
Normal 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://play.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>
|
Loading…
Add table
Add a link
Reference in a new issue