mirror of
https://github.com/publiclab/mapknitter.git
synced 2025-12-05 16:00:00 +01:00
Update 404.html (#1892)
This commit is contained in:
4
404.html
4
404.html
@@ -26,10 +26,10 @@
|
||||
window.location = "https://publiclab.github.io/Leaflet.DistortableImage/examples/archive/";
|
||||
} else if (window.location.href.split('/')[4] == "embed") {
|
||||
var path = "https://publiclab.github.io/Leaflet.DistortableImage/examples/archive?json=https://archive.org/download/mapknitter-wayback/" + document.location.href.split('.org/embed/')[1];
|
||||
window.location.replace("https://publiclab.github.io/Leaflet.DistortableImage/" + path);
|
||||
window.location = "https://publiclab.github.io/Leaflet.DistortableImage/" + path;
|
||||
} else {
|
||||
var path = "https://publiclab.github.io/Leaflet.DistortableImage/examples/archive?json=https://archive.org/download/mapknitter-wayback/" + document.location.href.split('.org/map/')[1];
|
||||
window.location.replace("https://publiclab.github.io/Leaflet.DistortableImage/" + path);
|
||||
window.location = "https://publiclab.github.io/Leaflet.DistortableImage/" + path;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user