-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.html
More file actions
24 lines (24 loc) · 977 Bytes
/
app.html
File metadata and controls
24 lines (24 loc) · 977 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!doctype html>
<html lang="en" data-page="app">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/x-icon" href="/maichat-logo.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MaiChat</title>
<style>
html, body { background: #121212; }
body { margin: 0; color: #e6e6e6; }
</style>
</head>
<body>
<div id="app" style="min-height:100vh;"></div>
<script>
window.addEventListener('error', (e)=>{
const el = document.getElementById('app');
if(el && !el.__bootFailed){ el.__bootFailed=true; el.innerHTML = '<pre style="font:12px monospace;color:#c00;white-space:pre-wrap;">Boot error: '+(e.error && e.error.message || e.message)+'</pre>'; }
});
</script>
<script type="module" src="./src/main.js"></script>
<noscript><div style="font:14px monospace;padding:1rem;">JavaScript disabled – MaiChat requires JS.</div></noscript>
</body>
</html>