lcw
This commit is contained in:
@ -8,6 +8,7 @@ const serverHost = "http://192.168.1.32:8006"//波哥
|
||||
// const serverHost = "http://192.168.0.231:8006"//线上
|
||||
// const serverHost = "http://192.168.1.117:8006"//周
|
||||
// const serverHost = "http://192.168.1.98:8006"//毛毛
|
||||
|
||||
module.exports = {
|
||||
// configureWebpack: {
|
||||
// resolve: {
|
||||
@ -51,22 +52,24 @@ module.exports = {
|
||||
changeOrigin: true,
|
||||
logLevel: "debug"
|
||||
},
|
||||
"/": {
|
||||
"/chat": {
|
||||
target: 'https://api.deepseek.com/',
|
||||
changeOrigin: true,
|
||||
logLevel: "debug",
|
||||
},
|
||||
"/bpm": {
|
||||
target: "http://192.168.0.101:32001",
|
||||
changeOrigin: true,
|
||||
logLevel: "debug",
|
||||
onProxyReq(proxyReq) {
|
||||
// 在这里添加固定的 Cookie
|
||||
proxyReq.setHeader('Cookie', 'clientKey-temp=1c2db6cac7dd405fb33c2a6725337925; static_version_fpip-manage=1.222; clientKey=30842687f48c4ed1818dbc45a0cdd4e1; static_version_fpip-jgpt=1.222; static_version_fpip-mdjf=1.222; static_version_fpip-tddx=1.222; static_version_fpip-dtbd=1.222; static_version_fpip-qzgl=1.222; static_version_fpip-bzdz=1.222; static_version_fpip-pcsgl=1.222; static_version_fpip-sydw=1.222')
|
||||
},
|
||||
},
|
||||
"/chat": {
|
||||
target: 'https://api.deepseek.com/chat/',
|
||||
"/flowApproval": {
|
||||
target: "http://192.168.0.101:32001",
|
||||
changeOrigin: true,
|
||||
logLevel: "debug",
|
||||
}, "/orgOrganization": {
|
||||
target: "http://192.168.0.101:32001",
|
||||
changeOrigin: true,
|
||||
logLevel: "debug",
|
||||
pathRewrite: {
|
||||
"^/chat": "/"
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
|
Reference in New Issue
Block a user