Update cors log message
This commit is contained in:
parent
a8bc4fd92e
commit
a6a4d654d4
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user