feat: 改为安装包分发并使用动态端口

This commit is contained in:
2026-10-25 02:31:23 +08:00
parent 5ca491834e
commit f5779369a5
34 changed files with 392 additions and 49 deletions
-6
View File
@@ -17,12 +17,6 @@ export default defineConfig(() => ({
port: 1420,
strictPort: true,
host: host || false,
proxy: {
"/api": {
target: "http://127.0.0.1:8765",
changeOrigin: true,
},
},
hmr: host
? {
protocol: "ws",