From 3c0b0a7dcdfd4c3f18adb8b7fef83e8737ceb8ee Mon Sep 17 00:00:00 2001 From: Hamza-Ayed Date: Thu, 23 Apr 2026 21:51:06 +0300 Subject: [PATCH] Fix: Correct useEnvironmentPath call on Application instance --- bootstrap/app.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bootstrap/app.php b/bootstrap/app.php index 1b9ac62..22499e5 100644 --- a/bootstrap/app.php +++ b/bootstrap/app.php @@ -5,7 +5,6 @@ use Illuminate\Foundation\Configuration\Exceptions; use Illuminate\Foundation\Configuration\Middleware; return Application::configure(basePath: dirname(__DIR__)) - ->useEnvironmentPath('/home/intaleq-api/env') ->withRouting( api: __DIR__.'/../routes/api.php', health: '/up', @@ -50,4 +49,5 @@ return Application::configure(basePath: dirname(__DIR__)) } }); }) - ->create(); + ->create() + ->useEnvironmentPath('/home/intaleq-api/env');