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

@@ -18,7 +18,7 @@
@if (data_get($application, 'ports_mappings_array'))
@foreach ($application->ports_mappings_array as $port)
@if (env('APP_ENV') === 'local')
@if (config('app.env') === 'local')
<a target="_blank" href="http://localhost:{{ explode(':', $port)[0] }}">Open
{{ explode(':', $port)[0] }}</a>
@else