mirror of
https://github.com/pi-hole/web.git
synced 2024-12-06 19:36:21 +01:00
Merge pull request #236 from pi-hole/Mcat12-remove-CORS-skip-msg
Remove CORS skip log message
This commit is contained in:
+1
-3
@@ -39,9 +39,7 @@ function check_cors() {
|
||||
}
|
||||
header("Access-Control-Allow-Origin: ${_SERVER['HTTP_ORIGIN']}");
|
||||
}
|
||||
else {
|
||||
pi_log("CORS skipped, unknown HTTP_ORIGIN");
|
||||
}
|
||||
// If there's no HTTP_ORIGIN, CORS should not be used
|
||||
}
|
||||
|
||||
function check_csrf($token) {
|
||||
|
||||
Reference in New Issue
Block a user