summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.js b/index.js
index 90658f0..bc19d1a 100644
--- a/index.js
+++ b/index.js
@@ -14,7 +14,7 @@ const app = new Koa();
if (ctx.query.url) {
const page = await browser.newPage();
await page.goto(ctx.query.url);
- if ((await page.content()).includes("cloudflare"))
+ if ((await page.content()).includes("cf-browser-verification"))
await page.waitForNavigation();
ctx.body = await page.content();
await page.close();