Permalink
Browse files

Refix upload options

  • Loading branch information...
1 parent 7c01363 commit e55751742d168bfb4399b69f487f5185b6758a71 @cdujeu cdujeu committed Aug 29, 2016
Showing with 2 additions and 2 deletions.
  1. +2 −2 core/src/plugins/uploader.html/class.XHRUploader.js
@@ -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;
}

0 comments on commit e557517

Please sign in to comment.