mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
fix(api): save is_auto_deploy_enabled when creating Docker image and Dockerfile applications
Closes #12339 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
f751365863
commit
4559d21b4c
@@ -2327,6 +2327,10 @@ class ApplicationsController extends Controller
|
||||
$application->fqdn = generateUrl(server: $server, random: $application->uuid);
|
||||
$application->save();
|
||||
}
|
||||
if (isset($isAutoDeployEnabled)) {
|
||||
$application->settings->is_auto_deploy_enabled = $isAutoDeployEnabled;
|
||||
$application->settings->save();
|
||||
}
|
||||
if (isset($isForceHttpsEnabled)) {
|
||||
$application->settings->is_force_https_enabled = $isForceHttpsEnabled;
|
||||
$application->settings->save();
|
||||
@@ -2458,6 +2462,10 @@ class ApplicationsController extends Controller
|
||||
$application->fqdn = generateUrl(server: $server, random: $application->uuid);
|
||||
$application->save();
|
||||
}
|
||||
if (isset($isAutoDeployEnabled)) {
|
||||
$application->settings->is_auto_deploy_enabled = $isAutoDeployEnabled;
|
||||
$application->settings->save();
|
||||
}
|
||||
if (isset($isForceHttpsEnabled)) {
|
||||
$application->settings->is_force_https_enabled = $isForceHttpsEnabled;
|
||||
$application->settings->save();
|
||||
|
||||
Reference in New Issue
Block a user