| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | public function handle($request, Closure $next) |
||
| 12 | { |
||
| 13 | return $next($request) |
||
| 14 | ->header('Access-Control-Allow-Origin', '*') |
||
| 15 | ->header('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS') |
||
| 16 | ->header('Access-Control-Allow-Headers', 'Origin, Content-Type, Accept, Authorization, X-Requested-With') |
||
| 17 | ->header('Access-Control-Allow-Credentials', 'true'); |
||
| 18 | } |
||
| 20 |