fix(web): fix push notification click 404 on GitHub Pages (#322)

This commit is contained in:
pppobear
2026-03-20 08:46:21 +08:00
committed by GitHub
parent d76b1a6ac0
commit f539f10507
4 changed files with 111 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>HAPI</title>
<script>
sessionStorage.setItem('spaRedirect', window.location.pathname + window.location.search + window.location.hash)
window.location.replace('/')
</script>
</head>
<body></body>
</html>