Browse Source

Merge pull request #13258 from SeproDE/webRssRelativePath

Change api requests in RSS WebUI to relative paths
adaptive-webui-19844
Mike Tzou 4 years ago committed by GitHub
parent
commit
6416c224e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/webui/www/private/confirmfeeddeletion.html
  2. 2
      src/webui/www/private/confirmruledeletion.html
  3. 2
      src/webui/www/private/newfeed.html
  4. 2
      src/webui/www/private/newfolder.html
  5. 2
      src/webui/www/private/newrule.html
  6. 2
      src/webui/www/private/rename_feed.html
  7. 2
      src/webui/www/private/rename_rule.html

2
src/webui/www/private/confirmfeeddeletion.html

@ -22,7 +22,7 @@ @@ -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: {

2
src/webui/www/private/confirmruledeletion.html

@ -23,7 +23,7 @@ @@ -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: {

2
src/webui/www/private/newfeed.html

@ -43,7 +43,7 @@ @@ -43,7 +43,7 @@
$('submitButton').disabled = true;
new Request({
url: '/api/v2/rss/addFeed',
url: 'api/v2/rss/addFeed',
noCache: true,
method: 'post',
data: {

2
src/webui/www/private/newfolder.html

@ -43,7 +43,7 @@ @@ -43,7 +43,7 @@
$('submitButton').disabled = true;
new Request({
url: '/api/v2/rss/addFolder',
url: 'api/v2/rss/addFolder',
noCache: true,
method: 'post',
data: {

2
src/webui/www/private/newrule.html

@ -40,7 +40,7 @@ @@ -40,7 +40,7 @@
}
$('submitButton').disabled = true;
new Request({
url: '/api/v2/rss/setRule',
url: 'api/v2/rss/setRule',
noCache: true,
method: 'post',
data: {

2
src/webui/www/private/rename_feed.html

@ -52,7 +52,7 @@ @@ -52,7 +52,7 @@
$('renameButton').disabled = true;
new Request({
url: '/api/v2/rss/moveItem',
url: 'api/v2/rss/moveItem',
noCache: true,
method: 'post',
data: {

2
src/webui/www/private/rename_rule.html

@ -51,7 +51,7 @@ @@ -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…
Cancel
Save