Skip to content

Commit

Permalink
remove givenPortOnly from gamedig and updating fluxos min version
Browse files Browse the repository at this point in the history
  • Loading branch information
Cabecinha84 committed Jan 30, 2024
1 parent 02b7a69 commit ebc4cf3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/services/application/checks.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ async function isVersionOK(ip, port) {
const url = `http://${ip}:${port}/flux/info`;
const response = await serviceHelper.httpGetRequest(url, timeout);
const version = response.data.data.flux.version.replace(/\./g, '');
if (+version >= 4272) {
if (+version >= 4280) {
if (response.data.data.flux.development === 'false' || !response.data.data.flux.development) {
return true;
}
Expand Down Expand Up @@ -620,7 +620,6 @@ async function checkMinecraft(ip, port) {
host: ip,
port,
attemptTimeout: 5000,
givenPortOnly: true,
maxRetries: 3
});
return true;
Expand All @@ -637,7 +636,6 @@ async function checkPalworld(ip, port) {
host: ip,
port,
attemptTimeout: 5000,
givenPortOnly: true,
maxRetries: 3
});
return true;
Expand Down

0 comments on commit ebc4cf3

Please sign in to comment.