From 94dd48adc92f5d674a0370beb30f36217f136014 Mon Sep 17 00:00:00 2001 From: Cabecinha84 Date: Thu, 1 Aug 2024 15:42:47 +0100 Subject: [PATCH] fix --- src/services/domainService.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/services/domainService.js b/src/services/domainService.js index 5ae6aa0..0523669 100644 --- a/src/services/domainService.js +++ b/src/services/domainService.js @@ -217,10 +217,10 @@ async function selectIPforG(ips, app) { } let appIps = []; -async function addAppIps(app, location) { - const isCheckOK = await applicationChecks.checkApplication(app, location.ip); +async function addAppIps(app, ip) { + const isCheckOK = await applicationChecks.checkApplication(app, ip); if (isCheckOK) { - appIps.push(location.ip); + appIps.push(ip); } } // periodically keeps HAproxy ans certificates updated every 4 minutes