Correctly add CORS header in responseFilter
This commit is contained in:
@@ -51,7 +51,7 @@ class Kernel extends BaseKernel implements EventSubscriberInterface
|
||||
|
||||
$response->headers->add([
|
||||
'Access-Control-Allow-Origin' => '*',
|
||||
'Access-Control-Allow-Methods: *',
|
||||
'Access-Control-Allow-Methods' => '*',
|
||||
]);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user