docker配置修改

This commit is contained in:
Hongying Li
2026-04-12 19:04:31 +08:00
parent 5dd16d9809
commit aed9323a09
3 changed files with 26 additions and 11 deletions

View File

@@ -38,4 +38,24 @@ export default defineConfig({
},
},
},
server: {
port: 8090,
host: '0.0.0.0',
proxy: {
'/api': {
target: 'http://backend:8080',
changeOrigin: true
}
}
},
preview: {
port: 8090,
host: '0.0.0.0',
proxy: {
'/api': {
target: 'http://backend:8080',
changeOrigin: true
}
}
}
})