public function handle()
    {
        if(env('APP_ENV') == 'testing'){

            return;
        }

        $this->origins();
        $this->credentials();
        $this->methods();
        $this->headers();
    }
public function handle()
    {
        if(env('APP_ENV') == 'testing'){

            return;
        }

        $this->origins();
        $this->credentials();
        $this->methods();
        $this->headers();
    }
public function handle ( ) { if ( env ( 'APP_ENV' ) == 'testing' ) { return ; } $ this -> origins ( ) ; $ this -> credentials ( ) ; $ this -> methods ( ) ; $ this -> headers ( ) ; }
Handle a cors request.
Handle a cors request .