From a97b8938239c4449b23c8c60288cd3673ec0713a Mon Sep 17 00:00:00 2001 From: Jeffrey Warren Date: Thu, 11 Sep 2025 02:47:53 -0400 Subject: [PATCH] Update 404.html (#1892) --- 404.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/404.html b/404.html index d5ac2c72..efa1d8d4 100644 --- a/404.html +++ b/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; }