Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Cabecinha84 committed Aug 1, 2024
1 parent 4215ca2 commit cf8a0eb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/services/domainService.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,10 @@ async function selectIPforG(ips, app) {

let appIps = [];
async function addAppIps(app, location) {
await applicationChecks.checkApplication(app, location.ip);
appIps.push(location.ip);
const isCheckOK = await applicationChecks.checkApplication(app, location.ip);
if (isCheckOK) {
appIps.push(location.ip);
}
}
// periodically keeps HAproxy ans certificates updated every 4 minutes
async function generateAndReplaceMainApplicationHaproxyConfig(isGmode = false, timeout = 30) {
Expand Down

0 comments on commit cf8a0eb

Please sign in to comment.