small fixes
This commit is contained in:
parent
4a97b762be
commit
c3b1c493a1
@ -43,7 +43,7 @@ class InstallProxy
|
||||
protected function getComposeData(): array
|
||||
{
|
||||
$cwd = config('app.env') === 'local'
|
||||
? config('coolify.project_path_on_host') . '_testing_hosts/host_2_proxy'
|
||||
? config('coolify.project_path_on_host') . '/_testing_hosts/host_2_proxy'
|
||||
: '.';
|
||||
|
||||
ray($cwd);
|
||||
@ -104,7 +104,7 @@ class InstallProxy
|
||||
];
|
||||
|
||||
return collect($data)
|
||||
->map(fn($v, $k) => "{$k}={$v}")
|
||||
->map(fn ($v, $k) => "{$k}={$v}")
|
||||
->push(PHP_EOL)
|
||||
->implode(PHP_EOL);
|
||||
}
|
||||
|
@ -2,16 +2,7 @@
|
||||
@isset($this->activity)
|
||||
<span>Activity: {{ $this->activity?->id }}</span>
|
||||
<span>Status: {{ $this->activity?->properties->get('status') }}</span>
|
||||
<pre
|
||||
class="h-[400px] flex flex-col-reverse w-full bg-[#cbcbcb] overflow-y-scroll"
|
||||
@if($isPollingActive)
|
||||
wire:poll.750ms="polling"
|
||||
@endif
|
||||
>{{
|
||||
\App\Actions\CoolifyTask\RunRemoteProcess::decodeOutput($this->activity)
|
||||
}}</pre>
|
||||
@else
|
||||
Not monitoring any activity.
|
||||
<pre class="flex flex-col-reverse w-full overflow-y-scroll"
|
||||
@if ($isPollingActive) wire:poll.750ms="polling" @endif>{{ \App\Actions\CoolifyTask\RunRemoteProcess::decodeOutput($this->activity) }}</pre>
|
||||
@endisset
|
||||
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user