Skip to content

Commit b161547

Browse files
author
laney9890
committed
Fix 404 redirect
1 parent c8837f3 commit b161547

1 file changed

Lines changed: 8 additions & 13 deletions

File tree

frontend/public/404.html

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
<!DOCTYPE html>
22
<html>
3-
<head>
4-
<script>
5-
var l = window.location;
6-
l.replace(
7-
l.protocol + '//' + l.hostname + (l.port ? ':' + l.port : '') +
8-
l.pathname.split('/').slice(0, 2).join('/') +
9-
'/?/' +
10-
l.pathname.slice(1).split('/').slice(1).join('/').replace(/&/g, '~and~') +
11-
(l.search ? '&' + l.search.slice(1).replace(/&/g, '~and~') : '') +
12-
l.hash
13-
);
14-
</script>
15-
</head>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>AgentBazaar</title>
6+
<script>
7+
sessionStorage.redirect = location.href;
8+
</script>
9+
<meta http-equiv="refresh" content="0;URL='/agentbazaar/'">
10+
</head>
1611
</html>

0 commit comments

Comments
 (0)