Update index.html

This commit is contained in:
plebeius.eth
2024-03-17 20:42:07 +01:00
parent 0df86ac59f
commit 1780b9534c
-11
View File
@@ -22,17 +22,6 @@
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>plebchan</title>
<script>
(function() {
// This checks if the URL does not contain a hash
if (!window.location.hash) {
// Calculate the base URL (protocol + host)
const baseURL = window.location.protocol + '//' + window.location.host + '/';
// Redirect to the base URL with `#/`
window.location.replace(baseURL + '#/');
}
})();
</script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>