Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Rrock-k committed Jan 3, 2024
1 parent 10105e5 commit 871312b
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 3 deletions.
43 changes: 43 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<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
// This script takes the current url and converts the path and query
// string into just a query string, and then redirects the browser
// to the new url with only a query string and hash fragment,
// e.g. https://www.foo.tld/one/two?a=b&c=d#qwe, becomes
// https://www.foo.tld/?/one/two&a=b~and~c=d#qwe
// Note: this 404.html file must be at least 512 bytes for it to work
// with Internet Explorer (it is currently > 512 bytes)

// If you're creating a Project Pages site and NOT using a custom domain,
// then set pathSegmentsToKeep to 1 (enterprise users may need to set it to > 1).
// This way the code will only replace the route part of the path, and not
// the real directory in which the app resides, for example:
// https://username.github.io/repo-name/one/two?a=b&c=d#qwe becomes
// https://username.github.io/repo-name/?/one/two&a=b~and~c=d#qwe
// Otherwise, leave pathSegmentsToKeep as 0.
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 asset-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@
"static/media/serpiente-display-medium-trial-webfont.woff": "/Vara-Arena/static/media/serpiente-display-medium-trial-webfont.7145994df7117cf2ef32.woff",
"static/media/serpiente-display-medium-trial-webfont.woff2": "/Vara-Arena/static/media/serpiente-display-medium-trial-webfont.1db6494657661cc760b4.woff2",
"static/media/upload_icon.svg": "/Vara-Arena/static/media/upload_icon.8ab4b61f0f1776acb298ba937057eecf.svg",
"index.html": "/Vara-Arena/index.html",
"static/media/step_back.svg": "/Vara-Arena/static/media/step_back.d8330a176ce7365419928293ce4e57d4.svg",
"static/media/step_forward.svg": "/Vara-Arena/static/media/step_forward.1b98f31e2cd2e5a80d471fce537ae5c8.svg",
"static/media/forward.svg": "/Vara-Arena/static/media/forward.b60cb2268c2eae20ebae79bbca831b1d.svg",
"static/media/back.svg": "/Vara-Arena/static/media/back.8de93fbe4e80fb9e36206bd1063f6702.svg",
"index.html": "/Vara-Arena/index.html",
"static/media/progress.svg": "/Vara-Arena/static/media/progress.32123ade9716c5ec3561f8cd389547ec.svg",
"main.54ae1fcb.css.map": "/Vara-Arena/static/css/main.54ae1fcb.css.map",
"main.0c2dbef9.js.map": "/Vara-Arena/static/js/main.0c2dbef9.js.map"
Expand Down
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="/Vara-Arena/arenaicon.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Arena</title><script defer="defer" src="/Vara-Arena/static/js/main.0c2dbef9.js"></script><link href="/Vara-Arena/static/css/main.54ae1fcb.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="/Vara-Arena/arenaicon.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Arena</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="/Vara-Arena/static/js/main.0c2dbef9.js"></script><link href="/Vara-Arena/static/css/main.54ae1fcb.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
2 changes: 1 addition & 1 deletion static/js/main.0c2dbef9.js.map

Large diffs are not rendered by default.

0 comments on commit 871312b

Please sign in to comment.