Shorten some lines to less than 120 chars

This commit is contained in:
Jonny Barnes 2018-03-02 17:47:20 +00:00
parent f5b69244df
commit 8cbbc821bf
2 changed files with 41 additions and 6 deletions

View file

@ -19,7 +19,10 @@ class CorsHeaders
if ($request->path() === 'api/media') {
$response->header('Access-Control-Allow-Origin', '*');
$response->header('Access-Control-Allow-Methods', 'OPTIONS, POST');
$response->header('Access-Control-Allow-Headers', 'Authorization, Content-Type, DNT, X-CSRF-TOKEN, X-REQUESTED-WITH');
$response->header(
'Access-Control-Allow-Headers',
'Authorization, Content-Type, DNT, X-CSRF-TOKEN, X-REQUESTED-WITH'
);
$response->header('Access-Control-Allow-Credentials', 'true');
}