-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathindex.html
More file actions
38 lines (38 loc) · 1.45 KB
/
index.html
File metadata and controls
38 lines (38 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="referrer" content="no-referrer" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="theme-color" content="#000000" />
<meta name="description" content="serverless, adminless, decentralized reddit alternative" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.json" />
<title>Seedit</title>
<!-- React Grab: Hold ⌘C and click any element to provide visual context to AI coding agents (dev only) -->
<script type="module">
if (import.meta.env.DEV) {
import("react-grab");
}
</script>
<script>
// Redirect non-hash URLs to hash URLs on initial load
// Skip redirect for file:// protocol (Electron) or if pathname ends with index.html
if (
window.location.protocol !== 'file:' &&
window.location.pathname &&
window.location.pathname !== '/' &&
!window.location.pathname.endsWith('/index.html') &&
!window.location.hash
) {
window.location.replace('/#' + window.location.pathname + window.location.search);
}
</script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>