Commit a28f41eb authored by wcmoon's avatar wcmoon

fix: 上传认证信息错误问题

parent a81b24d5
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -22,7 +22,7 @@ const auth = {
method: 'post',
headers: {
'Content-Encoding': 'gzip',
'Content-Type': 'text',
'Content-Type': 'application/json',
},
data: params, // {...params},
onUploadProgress: (progressEvent) => {
......
......@@ -22,6 +22,9 @@ module.exports = {
target: `http://172.16.101.87:${process.env.VUE_APP_CATEGORY === 'cs' ? '46788' : '46790'}`,
pathRewrite: {
'^/api': '/api',
},
headers: {
Connection: 'keep-alive'
}
}
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment