mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-12 04:24:27 +00:00
fix #1481 file uploads from behind a reverse proxy
This commit is contained in:
parent
983c9dad99
commit
c87245320d
@ -1,6 +1,6 @@
|
||||
/*!
|
||||
* Deluge.add.File.js
|
||||
*
|
||||
*
|
||||
* Copyright (c) Damien Churchill 2009-2010 <damoxc@gmail.com>
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@ -78,7 +78,7 @@ Deluge.add.FileWindow = Ext.extend(Deluge.add.Window, {
|
||||
if (this.form.getForm().isValid()) {
|
||||
this.torrentId = this.createTorrentId();
|
||||
this.form.getForm().submit({
|
||||
url: '/upload',
|
||||
url: deluge.config.base + 'upload',
|
||||
waitMsg: _('Uploading your torrent...'),
|
||||
failure: this.onUploadFailure,
|
||||
success: this.onUploadSuccess,
|
||||
|
Loading…
x
Reference in New Issue
Block a user