Header removed
This commit is contained in:
@@ -24,7 +24,7 @@ class WrenchApi extends BaseController
|
||||
}
|
||||
|
||||
public function apigate(){
|
||||
|
||||
/*
|
||||
//$request = service('request');
|
||||
header('Access-Control-Allow-Origin: *');
|
||||
//header("Access-Control-Allow-Origin: http://localhost:9057 ");
|
||||
@@ -33,7 +33,7 @@ class WrenchApi extends BaseController
|
||||
//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');
|
||||
|
||||
*/
|
||||
// what is the endpoint
|
||||
$uri = urldecode(current_url(true));
|
||||
$findme = '?';
|
||||
|
||||
Reference in New Issue
Block a user