修复:使用nginx代理访问时,下载多个文件失败的问题

This commit is contained in:
jmal 2020-05-14 18:05:11 +08:00
parent e24350cb85
commit 677f68e24d

View File

@ -2253,7 +2253,7 @@
if(window.location.port.length > 0){
host = window.location.host.substring(0,window.location.host.length - window.location.port.length - 1)
}
window.open(`http://${host}:8088/download?jmal-token=${this.$store.state.user.token}&fileIds=${fileIds}`,'_self')
window.open(`http://${host}:10010/download?jmal-token=${this.$store.state.user.token}&fileIds=${fileIds}`,'_self')
}else{
window.open(process.env.VUE_APP_BASE_FILE_API + '/download?jmal-token=' + this.$store.state.user.token + '&fileIds=' + fileIds, '_self')
}