Skip to content

Commit d6454c1

Browse files
authored
Update index.html
1 parent 661f475 commit d6454c1

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

index.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,13 @@
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"/><title>React App</title><script defer="defer" src="/static/js/main.5af6fd6d.js"></script><link href="/static/css/main.77b5e573.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
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"/><title>React App</title><script defer="defer" src="/static/js/main.5af6fd6d.js"></script><link href="/static/css/main.77b5e573.css" rel="stylesheet"></head><script type="text/javascript">
2+
// Single Page Apps for GitHub Pages
3+
(function(l) {
4+
if (l.search[1] === '/' ) {
5+
var decoded = l.search.slice(1).split('&').map(function(s) {
6+
return s.replace(/~and~/g, '&')
7+
}).join('?');
8+
window.history.replaceState(null, null,
9+
l.pathname.slice(0, -1) + decoded + l.hash
10+
);
11+
}
12+
}(window.location))
13+
</script><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

0 commit comments

Comments
 (0)