We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc5b6bc commit a77e740Copy full SHA for a77e740
404.html
@@ -24,7 +24,7 @@
24
<script>
25
if (window.location == "https://mapknitter.org/") {
26
window.location = "https://publiclab.github.io/Leaflet.DistortableImage/examples/archive/";
27
- } else if (window.location.split('/')[4] == "embed") {
+ } else if (window.location.href.split('/')[4] == "embed") {
28
var path = "https://publiclab.github.io/Leaflet.DistortableImage/examples/archive?json=https://archive.org/download/mapknitter-wayback/" + document.location.href.split('.org/embed/')[1];
29
window.location.replace("https://publiclab.github.io/Leaflet.DistortableImage/" + path);
30
} else {
0 commit comments