Adam Edible
Adam Edible
FFilament
Created by Adam Edible on 10/19/2024 in #❓┊help
Filament base address setting?
The (Laravel 11) solution is to add a trustProxies setting in /bootstrap/app.php:
->withMiddleware(function (Middleware $middleware) {
$middleware->trustProxies(at: '*');
})
->withMiddleware(function (Middleware $middleware) {
$middleware->trustProxies(at: '*');
})
Sources: * https://stackoverflow.com/a/77161158/15567698 * https://medium.com/@harrisrafto/securing-your-laravel-app-behind-load-balancers-mastering-the-trustproxies-middleware-5fd8c411b2d4
9 replies
FFilament
Created by Adam Edible on 10/19/2024 in #❓┊help
Filament base address setting?
I tried adding an ASSET_URL, but this didn't help.
9 replies
FFilament
Created by Adam Edible on 10/19/2024 in #❓┊help
Filament base address setting?
I have also verified that the Codespace URL is set correctly using php artisan tinker and env('APP_NAME');
9 replies
FFilament
Created by Adam Edible on 10/19/2024 in #❓┊help
Filament base address setting?
I did not set an ASSET_URL
9 replies