Skip to content

Commit

Permalink
feat!: remove TrustProxies setup since that breaks the entire app
Browse files Browse the repository at this point in the history
  • Loading branch information
Pyker committed Nov 29, 2024
1 parent 015ea3c commit 399422a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions bootstrap/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,6 @@
'solder_mods' => \App\Http\Middleware\SolderMods::class,
'solder_users' => \App\Http\Middleware\SolderUsers::class,
]);

$middleware->trustProxies(
at: config('trustedproxies', []),
headers: Request::HEADER_X_FORWARDED_FOR | Request::HEADER_X_FORWARDED_PROTO
);
})
->withExceptions(function (Exceptions $exceptions) {
//
Expand Down
5 changes: 0 additions & 5 deletions config/trustedproxies.php

This file was deleted.

0 comments on commit 399422a

Please sign in to comment.