[12.x] Add APP_URL fallback in filesystems config (#6742)

This commit is contained in:
KentarouTakeda
2026-01-20 00:16:42 +09:00
committed by GitHub
parent e713de24b8
commit 31607246bd

View File

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