source: app/Http/Middleware/TrustHosts.php

Last change on this file 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
RevLine 
[2fc88ec]1<?php
2
3namespace App\Http\Middleware;
4
5use Illuminate\Http\Middleware\TrustHosts as Middleware;
[7304c7f]6use Illuminate\Http\Request;
[2fc88ec]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.