Skip to content

Commit

Permalink
404 page
Browse files Browse the repository at this point in the history
  • Loading branch information
aqiu384 committed Jun 14, 2024
1 parent c68f710 commit eadb0fe
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
23 changes: 23 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Megami Tensei Fusion Tools</title>
<meta content="Fusion tool framework for Megami Tensei games." name="description">
<script type="text/javascript">
const l = window.location
const csrParam = 'csr'
const siteRoot = '/megaten-fusion-tool'
const pathParams = encodeURIComponent(l.pathname.slice(siteRoot.length))
const replacePath = (
l.protocol + '//' + l.hostname + (l.prot ? ':' + l.port : '') + siteRoot +
'?' + (l.search + '&' + csrParam + '=' + pathParams).slice(1) +
l.hash
)
l.replace(replacePath)
</script>
</head>
<body>
Please navigate manually to <code>/megaten-fusion-tool</code>
</body>
</html>
15 changes: 15 additions & 0 deletions home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!doctype html>
<html lang="en">
<head>
<title>Megami Tensei Fusion Tools</title>
<meta content="Fusion tool framework for Megami Tensei games." name="description">
<meta charset="utf-8">
<meta http-equiv="refresh" content="0;url=/megaten-fusion-tool/?csr=/home"/>
<link rel="canonical" href="/megaten-fusion-tool/?csr=/home"/>
</head>
<body>
<div>
Moved to <a href="/megaten-fusion-tool/?csr=/home">/megaten-fusion-tool/?csr=/home</a>
</div>
</body>
</html>

0 comments on commit eadb0fe

Please sign in to comment.