|
devServer: {
port: 8080,
proxy: {
"^/bvcsp": {
target: "https://192.168.10.72:9781",
secure: true,
ws: true,
changeOrigin: true,
},
"^/bvvtdu": {
target: "https://192.168.10.72:9781",
secure: true,
ws: true,
changeOrigin: true,
},
"^/bvnru": {
target: "https://192.168.10.72:9781",
secure: true,
ws: true,
changeOrigin: true,
}
},server端ip 192.168.10.72 ,客户端访问接口地址 提示 Proxy error: Could not proxy request /bvcsp/v1/auth/login from localhost:8080 to https://192.168.10.72:9781 (CERT_HAS_EXPIRED). |
|