Fix plugin uploads from behind a reverse proxy
This commit is contained in:
parent
7d7e3fad1e
commit
5ad9ff7333
@ -74,7 +74,7 @@ Deluge.preferences.InstallPluginWindow = Ext.extend(Ext.Window, {
|
|||||||
|
|
||||||
onInstall: function(field, e) {
|
onInstall: function(field, e) {
|
||||||
this.form.getForm().submit({
|
this.form.getForm().submit({
|
||||||
url: '/upload',
|
url: deluge.config.base + 'upload',
|
||||||
waitMsg: _('Uploading your plugin...'),
|
waitMsg: _('Uploading your plugin...'),
|
||||||
success: this.onUploadSuccess,
|
success: this.onUploadSuccess,
|
||||||
scope: this
|
scope: this
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user