Merge pull request #236 from pi-hole/Mcat12-remove-CORS-skip-msg

Remove CORS skip log message
This commit is contained in:
DL6ER
2016-12-10 17:51:37 +01:00
committed by GitHub
+1 -3
View File
@@ -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) {