build(tauri): 更新后端端口并优化打包流程

- 将后端端口从8000 修改为 8483
- 更新前端请求基础 URL 以匹配新的后端端口
- 优化后端打包脚本,确保 .env 文件正确复制和清理
- 修改后端主程序和请求工具中的端口配置
This commit is contained in:
JefferyHcool
2025-06-20 09:35:34 +08:00
parent 29372bab6b
commit c24fcc6d7d
8 changed files with 62 additions and 25 deletions

View File

@@ -7,7 +7,7 @@
"frontendDist": "../dist",
"devUrl": "http://localhost:3015",
"beforeDevCommand": "pnpm dev",
"beforeBuildCommand": "pnpm build"
"beforeBuildCommand": "pnpm build --mode tauri "
},
"app": {
"windows": [