Remove CORS header
This commit is contained in:
parent
6aa1302dea
commit
e002e0e3c9
@ -32,7 +32,6 @@ class NotConservedController extends AbstractController
|
|||||||
'message' => 'All records for not conserved archaeological assets',
|
'message' => 'All records for not conserved archaeological assets',
|
||||||
'records' => $records
|
'records' => $records
|
||||||
],
|
],
|
||||||
headers: ['Access-Control-Allow-Origin' => '*']
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -52,7 +51,6 @@ class NotConservedController extends AbstractController
|
|||||||
|
|
||||||
return $this->json(
|
return $this->json(
|
||||||
$notConserved,
|
$notConserved,
|
||||||
headers: ['Access-Control-Allow-Origin' => '*']
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,6 @@ class SiteController extends AbstractController
|
|||||||
|
|
||||||
return $this->json(
|
return $this->json(
|
||||||
$site,
|
$site,
|
||||||
headers: ['Access-Control-Allow-Origin' => '*']
|
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user