Skip to content

Commit a77e740

Browse files
authored
Update 404.html
1 parent fc5b6bc commit a77e740

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

404.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
<script>
2525
if (window.location == "https://mapknitter.org/") {
2626
window.location = "https://publiclab.github.io/Leaflet.DistortableImage/examples/archive/";
27-
} else if (window.location.split('/')[4] == "embed") {
27+
} else if (window.location.href.split('/')[4] == "embed") {
2828
var path = "https://publiclab.github.io/Leaflet.DistortableImage/examples/archive?json=https://archive.org/download/mapknitter-wayback/" + document.location.href.split('.org/embed/')[1];
2929
window.location.replace("https://publiclab.github.io/Leaflet.DistortableImage/" + path);
3030
} else {

0 commit comments

Comments
 (0)