small fixes

This commit is contained in:
Andras Bacsai
2023-05-03 21:35:34 +02:00
parent 4a97b762be
commit c3b1c493a1
2 changed files with 4 additions and 13 deletions

View File

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