mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
Update index.html
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user