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

This commit is contained in:
KentarouTakeda
2026-01-19 09:16:42 -06:00
committed by GitHub
parent e713de24b8
commit 31607246bd
+1 -1
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,