diff --git a/guestbook/submit.php b/guestbook/submit.php index 5f6ffe4..b2c8893 100644 --- a/guestbook/submit.php +++ b/guestbook/submit.php @@ -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 == "") {