Skip to content

Commit a501e8d

Browse files
committed
feat: #30 try add trusted proxies 3
1 parent 5e4e2bc commit a501e8d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: bootstrap/app.php

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
health: '/up',
1919
)
2020
->withMiddleware(function (Middleware $middleware) {
21+
$middleware->trustProxies('*');
22+
2123
$middleware
2224
->web(append: [
2325
HandleInertiaRequests::class,

0 commit comments

Comments
 (0)