diff --git a/php/cors.php b/php/cors.php index 58dc1a8..ef22610 100644 --- a/php/cors.php +++ b/php/cors.php @@ -15,7 +15,7 @@ function cors() { // Allow from any origin if (isset($_SERVER['HTTP_ORIGIN'])) { - log_print($_SERVER['HTTP_ORIGIN']); + log_print("HTTP_ORIGIN: ".$_SERVER['HTTP_ORIGIN']); // Decide if the origin in $_SERVER['HTTP_ORIGIN'] is one // you want to allow, and if so: #if ($_SERVER['HTTP_ORIGIN'] !== 'http://app1.localhost') return;