Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Jul 29, 2024
1 parent 499842c commit 95189ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/domainService.js
Original file line number Diff line number Diff line change
Expand Up @@ -585,7 +585,7 @@ async function generateAndReplaceMainApplicationHaproxyConfig(isGmode = false, t
const appExists = updatingConfig.find((a) => a.appName === app.appName);
if (!appExists) {
updatingConfig.push(app);
} else if (!app.ips) {
} else if (!app.ips.length) {
// replace this element with new
updatingConfig.splice(updatingConfig.indexOf(appExists), 1);
} else {
Expand Down

0 comments on commit 95189ad

Please sign in to comment.