Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTrunk committed Nov 23, 2023
1 parent 1c7c210 commit 5873d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/haproxyTemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ backend ${domainUsed}backend
domainBackend += `\n server ${ip.split(':')[0]}:${apiPort} ${ip.split(':')[0]}:${app.port} check ${app.serverConfig}${cookieConfig}`;
}
if (app.isRdata) {
if (mapOfNamesIps[app.name] && app.ips.includse(mapOfNamesIps[app.name])) { // use this ip as a main
if (mapOfNamesIps[app.name] && app.ips.includes(mapOfNamesIps[app.name])) { // use this ip as a main
if (mapOfNamesIps[app.name] === ip) {
// for the main IP use
domainBackend += ' inter 10s fall 3 rise 99999999';
Expand Down

0 comments on commit 5873d23

Please sign in to comment.