Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rohitdavas committed Dec 7, 2024
1 parent bd44e1f commit 9d9d721
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 21 deletions.
30 changes: 19 additions & 11 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<head>
<meta charset="utf-8">
<title>Redirecting...</title>
<script>
// Get the current path and store it in sessionStorage
sessionStorage.setItem('redirect', window.location.pathname);
// Redirect to the root
window.location.replace(window.location.origin);
<title>Single Page Apps for GitHub Pages</title>
<script type="text/javascript">
// Single Page Apps for GitHub Pages
// MIT License
// https://github.com/rafgraph/spa-github-pages
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>
<p>Redirecting...</p>
</body>
</head>
<body>
</body>
</html>
6 changes: 3 additions & 3 deletions asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"files": {
"main.js": "/static/js/main.7d1c8f19.js",
"main.js": "/static/js/main.8615f488.js",
"index.html": "/index.html",
"main.7d1c8f19.js.map": "/static/js/main.7d1c8f19.js.map"
"main.8615f488.js.map": "/static/js/main.8615f488.js.map"
},
"entrypoints": [
"static/js/main.7d1c8f19.js"
"static/js/main.8615f488.js"
]
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"/><title>Rohit Davas - Portfolio</title><script defer="defer" src="/static/js/main.7d1c8f19.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Rohit Davas - Personal Portfolio"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>Rohit Davas</title><script type="text/javascript">!function(n){if("/"===n.search[1]){var a=n.search.slice(1).split("&").map((function(n){return n.replace(/~and~/g,"&")})).join("?");window.history.replaceState(null,null,n.pathname.slice(0,-1)+a+n.hash)}}(window.location)</script><script defer="defer" src="/static/js/main.8615f488.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
1 change: 0 additions & 1 deletion static/js/main.7d1c8f19.js.map

This file was deleted.

10 changes: 5 additions & 5 deletions static/js/main.7d1c8f19.js → static/js/main.8615f488.js

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions static/js/main.8615f488.js.map

Large diffs are not rendered by default.

0 comments on commit 9d9d721

Please sign in to comment.