*: allows for BASE_PATH configuration (#183)

This commit is contained in:
Quentin Machu 2022-04-25 00:17:13 -07:00 committed by GitHub
parent 90bb2851bf
commit 87b08a8f7c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
13 changed files with 108 additions and 84 deletions

View file

@ -136,7 +136,7 @@ Wireguard Server Settings
$.ajax({
cache: false,
method: 'POST',
url: '/wg-server/interfaces',
url: '{{.basePath}}/wg-server/interfaces',
dataType: 'json',
contentType: "application/json",
data: JSON.stringify(data),
@ -210,7 +210,7 @@ Wireguard Server Settings
$.ajax({
cache: false,
method: 'POST',
url: '/wg-server/keypair',
url: '{{.basePath}}/wg-server/keypair',
dataType: 'json',
contentType: "application/json",
success: function(data) {