Fix: Correct useEnvironmentPath call on Application instance

This commit is contained in:
Hamza-Ayed
2026-04-23 21:51:06 +03:00
parent ded925620d
commit 3c0b0a7dcd

View File

@@ -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');