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