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 @@ class Proxy extends Component
$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()