refactor(config): 统一后端地址的构建配置

移除运行时配置脚本,优先使用构建环境变量,未配置时使用同源地址。同步更新环境变量示例和部署说明。
This commit is contained in:
zhanjunhao
2026-10-22 12:50:16 +08:00
parent 67d08b69c2
commit 5f48bfda12
7 changed files with 88 additions and 77 deletions
-1
View File
@@ -356,7 +356,6 @@
}
})();
</script>
<script src="/config.js"></script>
<script type="module" src="/src/index.jsx"></script>
</body>
</html>