Skip to content

Commit

Permalink
Compiled
Browse files Browse the repository at this point in the history
  • Loading branch information
shoaib-jamal committed Mar 23, 2024
1 parent cf98266 commit 0d7905c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
22 changes: 22 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>GitHub Pages Issue</title>
<script type="text/javascript">

var pathSegmentsToKeep = 0;

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>
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@
<link rel="modulepreload" href="/_app/immutable/chunks/index-23b4510f.js">
<link rel="modulepreload" href="/_app/immutable/chunks/index-6533b345.js">
<link rel="modulepreload" href="/_app/immutable/chunks/preload-helper-c28b9807.js">
<script type="text/javascript">
(function(l) {
if (l.search[1] === '/' ) {
var decoded = l.search.slice(1).split('&').map(function(s) {
return s.replace(/~and~/g, '&')
}).join('?');
window.history.replaceState(null, null,
l.pathname.slice(0, -1) + decoded + l.hash
);
}
}(window.location))
</script>

<style>
html, body {
Expand Down

0 comments on commit 0d7905c

Please sign in to comment.