Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
MertJSX committed Dec 8, 2024
1 parent 345e9d8 commit 42d0f17
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 6 deletions.
24 changes: 19 additions & 5 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="0; URL=/" />
</head>
<body>
</body>
<head>
<meta charset="utf-8">
<title>Chess Game</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>
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="/chess-game/logo.png"/><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="/chess-game/logo.png"/><link rel="manifest" href="/chess-game/manifest.json"/><title>Chess Game</title><script defer="defer" src="/chess-game/static/js/main.c4af9b10.js"></script><link href="/chess-game/static/css/main.82ed0585.css" rel="stylesheet"></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="/chess-game/logo.png"/><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"/><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><link rel="apple-touch-icon" href="/chess-game/logo.png"/><link rel="manifest" href="/chess-game/manifest.json"/><title>Chess Game</title><script defer="defer" src="/chess-game/static/js/main.c4af9b10.js"></script><link href="/chess-game/static/css/main.82ed0585.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

0 comments on commit 42d0f17

Please sign in to comment.