mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 09:36:05 -08:00
Update settings.php
The "saveSettings" function is corrected by changing the relative url to an absolute url so that it works correctly with reverse proxies.
This commit is contained in:
@@ -577,7 +577,7 @@ while ($row = $result -> fetchArray (SQLITE3_ASSOC)) {
|
|||||||
{
|
{
|
||||||
$.ajax({
|
$.ajax({
|
||||||
method: "POST",
|
method: "POST",
|
||||||
url: "../php/server/util.php",
|
url: "php/server/util.php",
|
||||||
data: {
|
data: {
|
||||||
function: 'savesettings',
|
function: 'savesettings',
|
||||||
settings: JSON.stringify(collectSettings()) },
|
settings: JSON.stringify(collectSettings()) },
|
||||||
|
|||||||
Reference in New Issue
Block a user