Fixed incorrect caddy proxy config file path on ui

This commit is contained in:
ShadowArcanist 2025-09-29 05:26:02 +05:30
parent d81ed86920
commit e193490b9f

View file

@ -43,9 +43,9 @@ public function mount()
$this->redirectUrl = data_get($this->server, 'proxy.redirect_url');
}
public function getConfigurationFilePathProperty()
public function getConfigurationFilePathProperty(): string
{
return $this->server->proxyPath().'docker-compose.yml';
return rtrim($this->server->proxyPath(), '/') . '/docker-compose.yml';
}
public function changeProxy()