From 2466d29fe2319c1057cca7cf1e1977451088276e Mon Sep 17 00:00:00 2001 From: Calvin Morrison Date: Tue, 2 Aug 2022 11:30:56 -0400 Subject: initial commit of laravel --- app/Http/Middleware/TrustHosts.php | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app/Http/Middleware/TrustHosts.php (limited to 'app/Http/Middleware/TrustHosts.php') diff --git a/app/Http/Middleware/TrustHosts.php b/app/Http/Middleware/TrustHosts.php new file mode 100644 index 0000000..7186414 --- /dev/null +++ b/app/Http/Middleware/TrustHosts.php @@ -0,0 +1,20 @@ + + */ + public function hosts() + { + return [ + $this->allSubdomainsOfApplicationUrl(), + ]; + } +} -- cgit v1.2.3