diff --git a/cert/script.js b/cert/script.js index c4466d1..9546f4f 100644 --- a/cert/script.js +++ b/cert/script.js @@ -148,9 +148,9 @@ async function main(e) { log.textContent += "Checking /lookup... "; - const lookup = await checkLookup(base_url + "/lookup?ip=" + realIP); + const lookup = await checkLookup(base_url + "/lookup?ip=8.8.8.8"); const lookupFeatures = checkReturnedJSON(lookup) - let lookupOK = lookupFeatures >= 1 && lookup.ip === realIP; + let lookupOK = lookupFeatures >= 1 && lookup.ip != realIP; log.textContent += lookupOK ? `OK (${rootFeatures}/${Object.keys(VALID_KEYS).length} features)\n` : "FAILED\n"; log.textContent += "Checking /imfeelinglucky (this may take a while) ";