aboutsummaryrefslogblamecommitdiff
path: root/app/Http/Middleware/TrustHosts.php
blob: b0550cfc7c61f0220b5cf7ee6a1ef2d8c4a4cab7 (plain) (tree)



















                                                        
<?php

namespace App\Http\Middleware;

use Illuminate\Http\Middleware\TrustHosts as Middleware;

class TrustHosts extends Middleware
{
    /**
     * Get the host patterns that should be trusted.
     *
     * @return array
     */
    public function hosts()
    {
        return [
            $this->allSubdomainsOfApplicationUrl(),
        ];
    }
}