Removed wrong spaces

This commit is contained in:
Alejandro Celaya 2016-08-19 16:12:39 +02:00
parent 5f0baab2ac
commit a2c2bc166c

View File

@ -48,7 +48,7 @@ class CrossDomainMiddleware implements MiddlewareInterface
// Add OPTIONS-specific headers
foreach ([
'Access-Control-Allow-Methods' => 'GET, POST, PUT, DELETE, OPTIONS', // TODO Should be based on path
'Access-Control-Allow-Methods' => 'GET,POST,PUT,DELETE,OPTIONS', // TODO Should be based on path
'Access-Control-Max-Age' => '1000',
'Access-Control-Allow-Headers' => $request->getHeaderLine('Access-Control-Request-Headers'),
] as $key => $value) {