This commit is contained in:
fengchuanhn@gmail.com
2026-05-15 18:50:42 +08:00
parent 584d4c47a1
commit 28b2b4d686
9 changed files with 218 additions and 53 deletions

View File

@@ -11,6 +11,12 @@ export default defineConfig({
port: 1420,
strictPort: true,
host: host || false,
proxy: {
"/api": {
target: "http://127.0.0.1:8001",
changeOrigin: true,
},
},
hmr: host
? {
protocol: "ws",