We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d492f3 commit eaf1eb9Copy full SHA for eaf1eb9
src/Error/JsonApiExceptionRenderer.php
@@ -20,6 +20,7 @@ public function jsonApi(JsonApiException $error)
20
];
21
22
return $response
23
+ ->withAddedHeader('Access-Control-Allow-Origin', '*')
24
->withStringBody(json_encode($data))
25
->withStatus($error->getCode())
26
->withType('application/json');
0 commit comments