This repository has been archived on 2026-11-02. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
DHEnry 9dfc96cd67 feat: markdown chat, nested quotes and read receipts
Move the web/server app under server/, add Markdown composer and rendering, cursor-insert image/file uploads, nested quote viewer, group read receipt dialog, and link Markdown attachments to sent messages.
2026-10-25 19:14:34 +08:00

33 lines
1.1 KiB
HTML

<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<meta name="theme-color" content="#0b0e14" />
<link rel="icon" type="image/png" href="/favicon.png" />
<link rel="apple-touch-icon" href="/favicon.png" />
<title>Chat</title>
<script>
// Cap 的 WASM 必须在使用 cap-widget 之前指定为自托管地址,
// 否则组件会去 jsdelivr 拉取,国内网络下会一直卡在“验证中”。
window.CAP_CUSTOM_WASM_URL = '/cap/cap_wasm_bg.wasm'
window.CAP_CUSTOM_HASHWX_URL = '/cap/hashwx.wasm'
</script>
<script>
;(() => {
try {
const t = localStorage.getItem('chat-theme') || 'system'
const dark =
t === 'dark' ||
(t === 'system' && window.matchMedia('(prefers-color-scheme: dark)').matches)
document.documentElement.classList.toggle('dark', dark)
} catch {}
})()
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>