temporarily removed headers

This commit is contained in:
Olu Amey
2022-12-30 23:03:33 -05:00
parent 49affc3ebf
commit 190fd11193
+4
View File
@@ -61,11 +61,15 @@ $ret = -1;
}
*/
/*
Olu temporary removed
header("Access-Control-Allow-Origin: *");
header("Access-Control-Expose-Headers: Access-Control-Allow-Origin");
header("Access-Control-Allow-Headers: Cache-Control, Pragma, Origin, Authorization, Content-Type, X-Requested-With");
header("Access-Control-Allow-Methods: POST, GET, PUT, DELETE, OPTIONS");
header('Content-type: application/json');
*/
if ("OPTIONS" === $_SERVER['REQUEST_METHOD']) {
exit();