流式返回完成

This commit is contained in:
aixianling
2024-08-26 17:28:14 +08:00
parent 10b44698e1
commit cb4c7dd623
3 changed files with 58 additions and 13 deletions

View File

@@ -38,6 +38,14 @@ module.exports = {
'^/lan': '/'
}
},
'/sse': {
target: "http://192.168.1.87:10409/v1",
changeOrigin: true,
pathRewrite: {
//地址重写
'^/sse': '/'
}
},
},
disableHostCheck: true,
}