更新
This commit is contained in:
@ -4,7 +4,9 @@ function resolve(dir) {
|
||||
return path.join(__dirname, dir);
|
||||
}
|
||||
|
||||
const serverHost = "http://192.168.1.98:8006"
|
||||
// const serverHost = "http://192.168.1.32:8066"//波哥
|
||||
// const serverHost = "http://192.168.1.117:8006"//周
|
||||
const serverHost = "http://192.168.1.98:8006"//毛毛
|
||||
module.exports = {
|
||||
publicPath: "./",
|
||||
outputDir: "ylth",
|
||||
@ -41,6 +43,14 @@ module.exports = {
|
||||
changeOrigin: true,
|
||||
logLevel: "debug"
|
||||
},
|
||||
"/chat": {
|
||||
target: 'https://api.deepseek.com/chat/',
|
||||
changeOrigin: true,
|
||||
logLevel: "debug",
|
||||
pathRewrite: {
|
||||
"^/chat": "/"
|
||||
}
|
||||
},
|
||||
}
|
||||
},
|
||||
chainWebpack(config) {
|
||||
|
Reference in New Issue
Block a user