{"action":"closed","issue":{"url":"https://api.github.com/repos/barryvdh/laravel-cors/issues/48","labels_url":"https://api.github.com/repos/barryvdh/laravel-cors/issues/48/labels{/name}","comments_url":"https://api.github.com/repos/barryvdh/laravel-cors/issues/48/comments","events_url":"https://api.github.com/repos/barryvdh/laravel-cors/issues/48/events","html_url":"https://github.com/barryvdh/laravel-cors/issues/48","id":90335332,"number":48,"title":"The 'Access-Control-Allow-Origin' header contains multiple values, but only one is allowed.","user":{"login":"michalsnik","id":4093559,"avatar_url":"https://avatars.githubusercontent.com/u/4093559?v=3","gravatar_id":"","url":"https://api.github.com/users/michalsnik","html_url":"https://github.com/michalsnik","followers_url":"https://api.github.com/users/michalsnik/followers","following_url":"https://api.github.com/users/michalsnik/following{/other_user}","gists_url":"https://api.github.com/users/michalsnik/gists{/gist_id}","starred_url":"https://api.github.com/users/michalsnik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michalsnik/subscriptions","organizations_url":"https://api.github.com/users/michalsnik/orgs","repos_url":"https://api.github.com/users/michalsnik/repos","events_url":"https://api.github.com/users/michalsnik/events{/privacy}","received_events_url":"https://api.github.com/users/michalsnik/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-23T09:31:22Z","updated_at":"2015-06-23T14:02:03Z","closed_at":"2015-06-23T14:02:03Z","body":"I'm running into this issue while requesting api in my ionic application. \r\n\r\nRemoving two lines in stack-cors package:\r\n$response->headers->set('Access-Control-Allow-Origin', $request->headers->get('Origin'));\r\nsolves my problem, but there has to be a better solution.\r\n\r\nI'm using default config/cors.php file"}}