设备管理模块添加
This commit is contained in:
+5
-1
@@ -12,11 +12,15 @@ export default defineConfig({
|
||||
server: {
|
||||
port: 3000,
|
||||
open: true,
|
||||
// 开发环境代理:/api 请求转发到后端服务,避免跨域
|
||||
// 开发环境代理:/api 请求转发到后端服务,避免跨域;/uploads 为设备附件静态文件与上传接口
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://localhost:5287',
|
||||
changeOrigin: true
|
||||
},
|
||||
'/uploads': {
|
||||
target: 'http://localhost:5287',
|
||||
changeOrigin: true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user