fix: 优化端口

This commit is contained in:
丹尼尔
2026-03-11 11:36:05 +08:00
parent d3c5b4c27a
commit dae013dbeb
7 changed files with 48 additions and 14 deletions

View File

@@ -215,7 +215,8 @@
</div>
<script>
const $ = (id) => document.getElementById(id);
const API_BASE = 'http://localhost:8000';
// 相对路径,由 Node 代理到后端,适配 -p/-b 任意端口
const API_BASE = '';
const KEY_STORAGE = 'wechat_key';
function getKey() {