main
Last change
on this file since c454c0f was c454c0f, checked in by bube-ristovska <ristovska725@…>, 11 months ago |
First commit
|
-
Property mode
set to
100644
|
File size:
379 bytes
|
Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | namespace App\Http\Middleware;
|
---|
4 |
|
---|
5 | use Illuminate\Http\Middleware\TrustHosts as Middleware;
|
---|
6 |
|
---|
7 | class TrustHosts extends Middleware
|
---|
8 | {
|
---|
9 | /**
|
---|
10 | * Get the host patterns that should be trusted.
|
---|
11 | *
|
---|
12 | * @return array<int, string|null>
|
---|
13 | */
|
---|
14 | public function hosts(): array
|
---|
15 | {
|
---|
16 | return [
|
---|
17 | $this->allSubdomainsOfApplicationUrl(),
|
---|
18 | ];
|
---|
19 | }
|
---|
20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.