Skip to content

Commit

Permalink
Updater wouldn't work when running a reverse proxy #236
Browse files Browse the repository at this point in the history
  • Loading branch information
tidusjar committed May 27, 2016
1 parent 34e74c7 commit e3cd016
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion PlexRequests.UI/Content/requests-1.7.js
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ $('#deleteTVShows').click(function (e) {
return;
}

loadingButton(buttonId, "success");
loadingButton(buttonId, "warning");
var url = createBaseUrl(base, '/approval/deletealltvshows');
$.ajax({
type: 'post',
Expand Down
4 changes: 2 additions & 2 deletions PlexRequests.UI/Views/Admin/Status.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down

0 comments on commit e3cd016

Please sign in to comment.