fix: ensure APP_URL does not have trailing slash in filesystem public URL (#6728)

This commit is contained in:
Mohammed Samgan Khan
2025-12-23 10:13:07 -05:00
committed by GitHub
parent f3613e9fb5
commit 591d3e8903

View File

@@ -41,7 +41,7 @@ return [
'public' => [ 'public' => [
'driver' => 'local', 'driver' => 'local',
'root' => storage_path('app/public'), 'root' => storage_path('app/public'),
'url' => env('APP_URL').'/storage', 'url' => rtrim(env('APP_URL'), '/').'/storage',
'visibility' => 'public', 'visibility' => 'public',
'throw' => false, 'throw' => false,
'report' => false, 'report' => false,