-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
31 lines (31 loc) · 1.33 KB
/
index.html
File metadata and controls
31 lines (31 loc) · 1.33 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
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="theme-color" content="#3b82f6" />
<meta name="description" content="MCP Server Management UI" />
<link rel="icon" type="image/svg+xml" href="/icon.svg" />
<link rel="apple-touch-icon" href="/icon.svg" />
<title>Broxy</title>
<style>
html.redirecting { display: none; }
#loading { display: flex; align-items: center; justify-content: center; height: 100vh; background: #fff; }
.spinner { width: 32px; height: 32px; border: 3px solid #e5e7eb; border-top-color: #3b82f6; border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-color-scheme: dark) { #loading { background: #0a0a0a; } .spinner { border-color: #374151; border-top-color: #60a5fa; } }
</style>
<script>
if (window.self === window.top && window.location.protocol === 'https:') {
document.documentElement.className = 'redirecting';
window.location.href = 'https://broxy.dev';
}
</script>
</head>
<body>
<div id="root">
<div id="loading"><div class="spinner"></div></div>
</div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>