Remove CORS header

This commit is contained in:
Nicolò P 2024-11-18 17:13:25 +01:00
parent 6aa1302dea
commit e002e0e3c9
2 changed files with 0 additions and 3 deletions

View File

@ -32,7 +32,6 @@ class NotConservedController extends AbstractController
'message' => 'All records for not conserved archaeological assets',
'records' => $records
],
headers: ['Access-Control-Allow-Origin' => '*']
);
}
@ -52,7 +51,6 @@ class NotConservedController extends AbstractController
return $this->json(
$notConserved,
headers: ['Access-Control-Allow-Origin' => '*']
);
}
}

View File

@ -40,7 +40,6 @@ class SiteController extends AbstractController
return $this->json(
$site,
headers: ['Access-Control-Allow-Origin' => '*']
);
}
}