mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-10 14:57:52 +00:00
Merge pull request #13258 from SeproDE/webRssRelativePath
Change api requests in RSS WebUI to relative paths
This commit is contained in:
commit
6416c224e3
@ -22,7 +22,7 @@
|
||||
let completionCount = 0;
|
||||
paths.forEach((path) => {
|
||||
new Request({
|
||||
url: '/api/v2/rss/removeItem',
|
||||
url: 'api/v2/rss/removeItem',
|
||||
noCache: true,
|
||||
method: 'post',
|
||||
data: {
|
||||
|
@ -23,7 +23,7 @@
|
||||
let completionCount = 0;
|
||||
rules.forEach((rule) => {
|
||||
new Request({
|
||||
url: '/api/v2/rss/removeRule',
|
||||
url: 'api/v2/rss/removeRule',
|
||||
noCache: true,
|
||||
method: 'post',
|
||||
data: {
|
||||
|
@ -43,7 +43,7 @@
|
||||
$('submitButton').disabled = true;
|
||||
|
||||
new Request({
|
||||
url: '/api/v2/rss/addFeed',
|
||||
url: 'api/v2/rss/addFeed',
|
||||
noCache: true,
|
||||
method: 'post',
|
||||
data: {
|
||||
|
@ -43,7 +43,7 @@
|
||||
$('submitButton').disabled = true;
|
||||
|
||||
new Request({
|
||||
url: '/api/v2/rss/addFolder',
|
||||
url: 'api/v2/rss/addFolder',
|
||||
noCache: true,
|
||||
method: 'post',
|
||||
data: {
|
||||
|
@ -40,7 +40,7 @@
|
||||
}
|
||||
$('submitButton').disabled = true;
|
||||
new Request({
|
||||
url: '/api/v2/rss/setRule',
|
||||
url: 'api/v2/rss/setRule',
|
||||
noCache: true,
|
||||
method: 'post',
|
||||
data: {
|
||||
|
@ -52,7 +52,7 @@
|
||||
$('renameButton').disabled = true;
|
||||
|
||||
new Request({
|
||||
url: '/api/v2/rss/moveItem',
|
||||
url: 'api/v2/rss/moveItem',
|
||||
noCache: true,
|
||||
method: 'post',
|
||||
data: {
|
||||
|
@ -51,7 +51,7 @@
|
||||
|
||||
$('renameButton').disabled = true;
|
||||
new Request({
|
||||
url: '/api/v2/rss/renameRule',
|
||||
url: 'api/v2/rss/renameRule',
|
||||
noCache: true,
|
||||
method: 'post',
|
||||
data: {
|
||||
|
Loading…
Reference in New Issue
Block a user