mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 05:19:37 +00:00
fix: save proxy configuration
This commit is contained in:
1 parent
b4d69a22df
commit
301469de6b
3 files changed
+5
-10
No files matched your search
@@ -10,9 +10,11 @@ class SaveConfiguration
|
||||
{
|
||||
use AsAction;
|
||||
|
||||
public function handle(Server $server)
|
||||
public function handle(Server $server, ?string $proxy_settings = null)
|
||||
{
|
||||
$proxy_settings = CheckConfiguration::run($server, true);
|
||||
if (is_null($proxy_settings)) {
|
||||
$proxy_settings = CheckConfiguration::run($server, true);
|
||||
}
|
||||
$proxy_path = get_proxy_path();
|
||||
$docker_compose_yml_base64 = base64_encode($proxy_settings);
|
||||
|
||||
|
||||
Reference in new issue
Block a user