Skip to content

Commit 2ba32d6

Browse files
authored
Update 404.html
1 parent aad09cb commit 2ba32d6

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
@@ -28,7 +28,7 @@ <h1>Error 404 - Page Not Found</h1>
2828

2929
if (path.startsWith("/docs/")) {
3030
const target = "https://docs.is-a.dev" + path.replace(/^\/docs/, '') + search + hash;
31-
window.location.replace(target);
31+
window.location = target;
3232
}
3333
</script>
3434
</html>

0 commit comments

Comments
 (0)