| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 16 | public function handle($request, Closure $next) |
||
| 17 | { |
||
| 18 | return $next($request) |
||
| 19 | ->header('Access-Control-Allow-Origin', '*') |
||
| 20 | ->header('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS') |
||
| 21 | ->header('Access-Control-Allow-Headers', 'X-Requested-With, Content-Type, X-Token-Auth, Authorization'); |
||
| 22 | } |
||
| 24 |