Skip to content

Commit

Permalink
remove access control allow origin
Browse files Browse the repository at this point in the history
  • Loading branch information
aneksa committed Nov 8, 2023
1 parent 7a6a271 commit 25cd72a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/ApiController.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public function __construct(Manager $fractal)
$this->data = $this->input->all();

// Always add CORS for every request
header("Access-Control-Allow-Origin: *");
// header("Access-Control-Allow-Origin: *");

// Handle error
App::error(function(\Exception $e) {
Expand Down

0 comments on commit 25cd72a

Please sign in to comment.