Andrew 2 月之前
父節點
當前提交
ca89522a90
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1
    0
      bootstrap/app.php

+ 1
- 0
bootstrap/app.php 查看文件

@@ -13,6 +13,7 @@ return Application::configure(basePath: dirname(__DIR__))
13 13
     )
14 14
     ->withMiddleware(function (Middleware $middleware): void {
15 15
         //
16
+        $middleware->trustProxies(at: '*');
16 17
     })
17 18
     ->withExceptions(function (Exceptions $exceptions): void {
18 19
         //