Skip to content

Commit

Permalink
Deploying to gh-pages from @ c0eb90c 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenya476 committed Jun 6, 2024
1 parent 75f31cd commit adb23a3
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Single Page Apps for GitHub Pages</title>
<script type="text/javascript">
var pathSegmentsToKeep = 1;

var l = window.location;
l.replace(
l.protocol +
'//' +
l.hostname +
(l.port ? ':' + l.port : '') +
l.pathname
.split('/')
.slice(0, 1 + pathSegmentsToKeep)
.join('/') +
'/?/' +
l.pathname
.slice(1)
.split('/')
.slice(pathSegmentsToKeep)
.join('/')
.replace(/&/g, '~and~') +
(l.search ? '&' + l.search.slice(1).replace(/&/g, '~and~') : '') +
l.hash
);
</script>
</head>
<body></body>
</html>

0 comments on commit adb23a3

Please sign in to comment.