| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 18 | public function handle($request, Closure $next) |
||
| 19 | { |
||
| 20 | $response = $next($request); |
||
| 21 | $response |
||
| 22 | ->header('P3P', 'CP="IDC DSP COR ADM DEVi TAIi PSA PSD IVAi IVDi CONi HIS OUR IND CNT"') |
||
| 23 | ->header('Access-Control-Allow-Origin', '*') |
||
| 24 | ->header('Access-Control-Allow-Methods', 'GET, POST, PUT, DELETE, OPTIONS') |
||
| 25 | ->header('Access-Control-Allow-Headers', 'Content-Type, Accept, Authorization, X-Requested-With, Application'); |
||
| 26 | |||
| 27 | return $response; |
||
| 28 | } |
||
| 30 |