Fix plugin uploads from behind a reverse proxy

This commit is contained in:
Calum Lind 2012-01-06 14:23:46 +00:00
parent 6b2320d4b6
commit 0b6af77d57

View File

@ -74,7 +74,7 @@ Deluge.preferences.InstallPluginWindow = Ext.extend(Ext.Window, {
onInstall: function(field, e) {
this.form.getForm().submit({
url: '/upload',
url: deluge.config.base + 'upload',
waitMsg: _('Uploading your plugin...'),
success: this.onUploadSuccess,
scope: this