packServer/frontend/.env.production
liufumingren fe8c0d62a1 chore(ports): 本机服务与边缘代理端口整体迁出 173xx
- 桌面端本机 HTTP/WS:17300/17301 → 16000/16001(前端、浏览器扩展、文档同步)
- 后台服务局域网:UDP 17310/TCP 17311 → UDP 16100/TCP 16101(16010 被向日葵占用,统一避开 160xx)
- 防火墙规则随端口更新,安装/升级时清理旧 17xxx 规则,避免继续占用别人的端口
- 桌面端版本升到 1.0.162

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-11-18 15:51:41 +08:00

13 lines
493 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 生产构建环境变量(npm run build / vite build 自动读取,提交到仓库)
#
# 生产由后端同源托管页面与 /api,所以 API_BASE 留空即可。
VITE_API_BASE=
# 本机桌面端约定:yuncang:// 协议 + HTTP 16000 + WebSocket 16001
VITE_APP_PROTOCOL=yuncang
VITE_LOCAL_SERVICE=http://localhost:16000
VITE_LOCAL_WS=ws://127.0.0.1:16001/
# /download/version.json 取不到时的兜底安装包地址(留空则只依赖 version.json)
VITE_SOFTWARE_DOWNLOAD_URL=