Merge pull request #4596 from arceushui/main
fix: fix domain being override when update application
This commit is contained in:
commit
c7a01eb270
1 changed files with 4 additions and 1 deletions
|
|
@ -1744,7 +1744,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