refactor: 移除自签名证书方案,服务只跑 HTTP

麦克风安全上下文改由部署方案解决:本机用 localhost,
对外部署挂 HTTPS 反向代理。删除 certs/、gen-cert.sh、
/cert 路由与 HTTPS server 分支,文档同步更新。

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-18 19:28:59 +08:00
parent 9be38aa44e
commit 5f7f68150e
11 changed files with 41 additions and 177 deletions

View File

@@ -1,6 +1,4 @@
#!/bin/bash
# 一键启动乘法口诀服务
cd "$(dirname "$0")"
# 没有证书就先生成
[ -f certs/cert.pem ] || bash gen-cert.sh
exec node server.js