mirror of
https://github.com/Snigdha-OS/snigdhaos-web-dev.git
synced 2025-09-06 05:15:11 +02:00
deploy: ba1808efa0
This commit is contained in:
20
404.html
20
404.html
@@ -1,20 +0,0 @@
|
||||
<!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>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
14
index.html
14
index.html
@@ -1,14 +0,0 @@
|
||||
<!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