source: app/Http/Middleware/TrustHosts.php@ 9012e81

develop
Last change on this file since 9012e81 was 7304c7f, checked in by beratkjufliju <kufliju@…>, 3 years ago

added user authentication, create & forgot password methods and blades

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