 22d3bb4036
			
		
	
	22d3bb4036
	
	
	
		
			
			Added probe.php Added new installer views and controllers Updated AuthController Updated Middlewares Updated Commands for installation process
		
			
				
	
	
		
			36 lines
		
	
	
		
			733 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			36 lines
		
	
	
		
			733 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| <?php
 | |
| 
 | |
| namespace App\Http\Middleware;
 | |
| 
 | |
| use Closure;
 | |
| use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;
 | |
| 
 | |
| class VerifyCsrfToken extends BaseVerifier
 | |
| {
 | |
|     /**
 | |
|      * The URIs that should be excluded from CSRF verification.
 | |
|      *
 | |
|      * @var array
 | |
|      */
 | |
|     protected $except = [
 | |
|         'api/v1/*',
 | |
|         'chunk/upload',
 | |
|         'chunk/upload/public',
 | |
|         'media/files/public',
 | |
|         'media/files',
 | |
|     ];
 | |
| 
 | |
|     /**
 | |
|      * Handle an incoming request.
 | |
|      *
 | |
|      * @param \Illuminate\Http\Request $request
 | |
|      * @param \Closure                 $next
 | |
|      *
 | |
|      * @return mixed
 | |
|      */
 | |
|     public function handle($request, Closure $next)
 | |
|     {
 | |
|         return parent::handle($request, $next);
 | |
|     }
 | |
| }
 |