Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Refix upload options
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Aug 29, 2016
1 parent 7c01363 commit e557517
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/plugins/uploader.html/class.XHRUploader.js
Expand Up @@ -766,13 +766,13 @@ Class.create("XHRUploader", {
host = this.configs.get("BOOSTER_UPLOAD_ADVANCED")['WS_HOST'];
}
var port = this.configs.get("BOOSTER_MAIN_PORT");
if(this.configs.get("BOOSTER_UPLOAD_ADVANCED") && this.configs.get("BOOSTER_UPLOAD_ADVANCED")['booster_ws_advanced'] === 'custom' && this.configs.get("BOOSTER_UPLOAD_ADVANCED")['WS_PORT']){
if(this.configs.get("BOOSTER_UPLOAD_ADVANCED") && this.configs.get("BOOSTER_UPLOAD_ADVANCED")['booster_upload_advanced'] === 'custom' && this.configs.get("BOOSTER_UPLOAD_ADVANCED")['WS_PORT']){
port = this.configs.get("BOOSTER_UPLOAD_ADVANCED")['WS_PORT'];
}

xhr.withCredentials = true;

uri = "http"+(this.configs.get("UPLOAD_SECURE")?"s":"")+"://"+this.configs.get("UPLOAD_HOST")+":"+this.configs.get("UPLOAD_PORT")+"/"+this.configs.get("UPLOAD_PATH")+"/"+pydio.user.activeRepository + currentDir;
uri = "http"+(this.configs.get("UPLOAD_SECURE")?"s":"")+"://"+host+":"+port+"/"+this.configs.get("UPLOAD_PATH")+"/"+pydio.user.activeRepository + currentDir;
}


Expand Down

0 comments on commit e557517

Please sign in to comment.