From 591d3e89030a5b6cb1ca479f4ecead3d87f03895 Mon Sep 17 00:00:00 2001 From: Mohammed Samgan Khan Date: Tue, 23 Dec 2025 10:13:07 -0500 Subject: [PATCH] fix: ensure APP_URL does not have trailing slash in filesystem public URL (#6728) --- config/filesystems.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/filesystems.php b/config/filesystems.php index 3d671bd9..82ea8a89 100644 --- a/config/filesystems.php +++ b/config/filesystems.php @@ -41,7 +41,7 @@ return [ 'public' => [ 'driver' => 'local', 'root' => storage_path('app/public'), - 'url' => env('APP_URL').'/storage', + 'url' => rtrim(env('APP_URL'), '/').'/storage', 'visibility' => 'public', 'throw' => false, 'report' => false,