mirror of
https://github.com/Snigdha-OS/snigdhaos-web-dev.git
synced 2025-09-06 21:25:11 +02:00
Updates
This commit is contained in:
20
404.html
Normal file
20
404.html
Normal file
@@ -0,0 +1,20 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>404 - Not Found</title>
|
||||
<script>
|
||||
// Redirect all 404 routes to the homepage (index.html) to let React Router handle routing
|
||||
var redirectTo = '/';
|
||||
var pathname = location.pathname;
|
||||
if (pathname && pathname !== '/' && pathname !== '/index.html') {
|
||||
redirectTo += pathname;
|
||||
}
|
||||
location.replace(redirectTo);
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<p>Redirecting...</p>
|
||||
</body>
|
||||
</html>
|
247
assets/index-B8bjck4u.js
Normal file
247
assets/index-B8bjck4u.js
Normal file
File diff suppressed because one or more lines are too long
1
assets/index-DswfWFSu.css
Normal file
1
assets/index-DswfWFSu.css
Normal file
File diff suppressed because one or more lines are too long
14
index.html
Normal file
14
index.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Snigdha OS</title>
|
||||
<script type="module" crossorigin src="/snigdhaos-web-dev/assets/index-B8bjck4u.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/snigdhaos-web-dev/assets/index-DswfWFSu.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
</body>
|
||||
</html>
|
Reference in New Issue
Block a user