| 1234567891011121314151617181920 | 
							- <?php
 
- namespace App\Http\Middleware;
 
- use Closure;
 
- class CrossDomain
 
- {
 
-     public function handle($request, Closure $next)
 
-     {
 
-         header('Access-Control-Allow-Origin: *');
 
-         header("Access-Control-Allow-Methods:GET, POST, OPTIONS, DELETE");
 
-         header("Access-Control-Allow-Headers:*");
 
-         header('Strict-Transport-Security:max-age=180');
 
-         header('X-Download-Options: noopen');
 
-         header('X-Permitted-Cross-Domain-Policies: none');
 
-         return $next($request);
 
-     }
 
- }
 
 
  |