Fixed an issue with the auth page when running with a reverse proxy

pull/235/head
tidusjar 9 years ago
parent 137c4ca093
commit 9ccd837758

@ -122,7 +122,7 @@
$('#requestToken').click(function (e) { $('#requestToken').click(function (e) {
e.preventDefault(); e.preventDefault();
var url = createBaseUrl(base, "requestauth"); var url = createBaseUrl(base, "admin/requestauth");
var $form = $("#mainForm"); var $form = $("#mainForm");
$.ajax({ $.ajax({
type: $form.prop("method"), type: $form.prop("method"),
@ -149,7 +149,7 @@
function loadUserList() { function loadUserList() {
$('#users').html(""); $('#users').html("");
var url = "getusers"; var url = "admin/getusers";
url = createBaseUrl(base, url); url = createBaseUrl(base, url);
$.ajax({ $.ajax({
type: "Get", type: "Get",

Loading…
Cancel
Save