mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 09:12:57 -07:00
Updater wouldn't work when running a reverse proxy #236
This commit is contained in:
parent
34e74c74c1
commit
e3cd016dc7
2 changed files with 3 additions and 3 deletions
|
@ -190,7 +190,7 @@ $('#deleteTVShows').click(function (e) {
|
|||
return;
|
||||
}
|
||||
|
||||
loadingButton(buttonId, "success");
|
||||
loadingButton(buttonId, "warning");
|
||||
var url = createBaseUrl(base, '/approval/deletealltvshows');
|
||||
$.ajax({
|
||||
type: 'post',
|
||||
|
|
|
@ -54,10 +54,10 @@
|
|||
var dots = new Array(count % 10).join('.');
|
||||
document.getElementById('autoUpdate').innerHTML = "Updating" + dots;
|
||||
}, 1000);
|
||||
var url = createBaseUrl(base, "autoupdate");
|
||||
|
||||
$.ajax({
|
||||
type: "Post",
|
||||
url: url,
|
||||
url: "autoupdate",
|
||||
data: { url: "@Model.DownloadUri" },
|
||||
dataType: "json",
|
||||
error: function () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue