fix: read env from config, bc of cache

This commit is contained in:
Andras Bacsai
2023-05-03 08:55:03 +02:00
parent 22028e23e3
commit e20cdd83f8
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ class PublicGitRepository extends Component
];
public function mount()
{
if (env('APP_ENV') === 'local') {
if (config('app.env') === 'local') {
$this->public_repository_url = 'https://github.com/coollabsio/coolify-examples/tree/nodejs-fastify';
$this->port = 3000;
}