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:
Carlos V
2023-09-12 16:08:32 +02:00
committed by GitHub
parent 4eddad5bf4
commit 5df5bdef59

View File

@@ -577,7 +577,7 @@ while ($row = $result -> fetchArray (SQLITE3_ASSOC)) {
{
$.ajax({
method: "POST",
url: "../php/server/util.php",
url: "php/server/util.php",
data: {
function: 'savesettings',
settings: JSON.stringify(collectSettings()) },