app/Http/Middleware/TrustHosts.php
/**
     * Get the host patterns that should be trusted.
     *
     * @return array
     */
Get the host patterns that should be trusted.
@return array
Get the host patterns that should be trusted . @return array
public function hosts()
    {
        return [
            'wann.fun.local',
            'wann.fun',
            $this->allSubdomainsOfApplicationUrl(),
        ];
    }
public function hosts ( ) { return [ 'wann.fun.local' , 'wann.fun' , $ this -> allSubdomainsOfApplicationUrl ( ) , ] ; }
Get the host patterns that should be trusted.
Get the host patterns that should be trusted .