|
@@ -15,8 +15,8 @@ export default defineConfig({
|
|
|
// 代理所有 /api 的请求,该求情将被代理到 target 中
|
|
|
'/api': {
|
|
|
// 代理请求之后的请求地址(你的真实接口地址)
|
|
|
- target: 'https://cimweb.zjw.sh.cegn.cn:2007/data-business-prod/',
|
|
|
- //target: 'http://localhost:9250/',
|
|
|
+ //target: 'https://cimweb.zjw.sh.cegn.cn:2007/data-business-prod/',
|
|
|
+ target: 'http://localhost:9250/',
|
|
|
secure: false,
|
|
|
ws: true,
|
|
|
// 跨域
|