Fix redirect

This commit is contained in:
Evan G. 2024-04-26 16:56:30 -05:00
parent 3034b501eb
commit 225bcff21b
Signed by: fbievan
GPG Key ID: 55FAB8CB6842F080
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ $nlength = $ndata->nlength;
# Setup JSON
$newURL = "http://192.168.1.180:9890/guestbook/index.html";
$newURL = "https://" . $_SERVER['SERVER_NAME'] . "/guestbook/index.html";
# Check name and message
if ($name == "") {