fix: fix domain being override when update application
This commit is contained in:
parent
aae54e8847
commit
b01056411d
1 changed files with 4 additions and 1 deletions
|
|
@ -1668,7 +1668,10 @@ public function update_by_uuid(Request $request)
|
||||||
removeUnnecessaryFieldsFromRequest($request);
|
removeUnnecessaryFieldsFromRequest($request);
|
||||||
|
|
||||||
$data = $request->all();
|
$data = $request->all();
|
||||||
data_set($data, 'fqdn', $domains);
|
if ($request->has('domains') && $server->isProxyShouldRun()) {
|
||||||
|
data_set($data, 'fqdn', $domains);
|
||||||
|
}
|
||||||
|
|
||||||
if ($dockerComposeDomainsJson->count() > 0) {
|
if ($dockerComposeDomainsJson->count() > 0) {
|
||||||
data_set($data, 'docker_compose_domains', json_encode($dockerComposeDomainsJson));
|
data_set($data, 'docker_compose_domains', json_encode($dockerComposeDomainsJson));
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue