source: app/Http/Middleware/TrustHosts.php@ 2fc88ec

develop
Last change on this file since 2fc88ec was 2fc88ec, checked in by beratkjufliju <kufliju@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 354 bytes
Line 
1<?php
2
3namespace App\Http\Middleware;
4
5use Illuminate\Http\Middleware\TrustHosts as Middleware;
6
7class TrustHosts extends Middleware
8{
9 /**
10 * Get the host patterns that should be trusted.
11 *
12 * @return array
13 */
14 public function hosts()
15 {
16 return [
17 $this->allSubdomainsOfApplicationUrl(),
18 ];
19 }
20}
Note: See TracBrowser for help on using the repository browser.