XORE21 commited on
Commit
784d702
·
verified ·
1 Parent(s): b64e917

Update endpoints/turnstile.js

Browse files
Files changed (1) hide show
  1. endpoints/turnstile.js +1 -1
endpoints/turnstile.js CHANGED
@@ -1,6 +1,6 @@
1
  module.exports = async function (page, url, siteKey) {
2
  return new Promise(async (resolve, reject) => {
3
- const timeout = setTimeout(() => reject(new Error("Timeout Turnstile")), 120000);
4
 
5
  try {
6
  await page.goto(url, { waitUntil: "domcontentloaded" });
 
1
  module.exports = async function (page, url, siteKey) {
2
  return new Promise(async (resolve, reject) => {
3
+ const timeout = setTimeout(() => reject(new Error("Timeout Turnstile")), 30000);
4
 
5
  try {
6
  await page.goto(url, { waitUntil: "domcontentloaded" });