Wedding Invitation
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

TrustHosts.php 379B

1234567891011121314151617181920
  1. <?php
  2. namespace App\Http\Middleware;
  3. use Illuminate\Http\Middleware\TrustHosts as Middleware;
  4. class TrustHosts extends Middleware
  5. {
  6. /**
  7. * Get the host patterns that should be trusted.
  8. *
  9. * @return array<int, string|null>
  10. */
  11. public function hosts(): array
  12. {
  13. return [
  14. $this->allSubdomainsOfApplicationUrl(),
  15. ];
  16. }
  17. }