Commit 6f0cbe91 authored by 周成波's avatar 周成波

服务器远程开发

parent 4ff90c94
Pipeline #358 failed with stages
......@@ -26,11 +26,13 @@ export default defineConfig({
server: {
proxy: {
'/api/': {
target: 'http://127.0.0.1:5000/', // 后端服务实际地址
target: 'http://127.0.0.1:5001/', // 后端服务实际地址
changeOrigin: true,
rewrite: (path: any) => path.replace(/^\/api/, '')
}
},
port: 9528
host: '0.0.0.0',
port: 9528,
https: false,
}
})
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment