Skip to content

Commit

Permalink
deploy: 0551d2d
Browse files Browse the repository at this point in the history
  • Loading branch information
bodobraegger committed Jul 25, 2024
1 parent bfbda87 commit 3b2a93d
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 1 deletion.
21 changes: 21 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8" />

<title>SGHPA Demo</title>

<script>
sessionStorage.redirect = location.href;
</script>

<meta http-equiv="refresh" content="0;URL='/thilo'" />
<link rel="manifest" href="/thilo/manifest.webmanifest"><script id="vite-plugin-pwa:register-sw" src="/thilo/registerSW.js"></script></head>

<body>
redirecting...
</body>


</html>
10 changes: 10 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,16 @@
BACKEND_URL: '${BACKEND_URL}',
};
</script>
<script>
(function(){
var redirect = sessionStorage.redirect;
delete sessionStorage.redirect;
if (redirect && redirect != location.href) {
history.replaceState(null, null, redirect);
console.log('Redirecting to', redirect);
}
})();
</script>

<script type="module" crossorigin src="/thilo/assets/index-3cc6efec.js"></script>
<link rel="stylesheet" href="/thilo/assets/index-246691aa.css">
Expand Down
2 changes: 1 addition & 1 deletion sw.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3b2a93d

Please sign in to comment.