修复:使用nginx代理访问时,下载多个文件失败的问题
This commit is contained in:
parent
e24350cb85
commit
677f68e24d
@ -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')
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user