Update srv.js
Browse files
srv.js
CHANGED
|
@@ -39,7 +39,7 @@ async function fetchKey(game) {
|
|
| 39 |
});
|
| 40 |
const genTxt = genRes.data;
|
| 41 |
const k = genTxt.match(/id="gameKey"[^>]*>([^<]+)<\/p>/);
|
| 42 |
-
if (!k) throw new Error('key not found in response');
|
| 43 |
return k[1]?.trim();
|
| 44 |
}
|
| 45 |
|
|
|
|
| 39 |
});
|
| 40 |
const genTxt = genRes.data;
|
| 41 |
const k = genTxt.match(/id="gameKey"[^>]*>([^<]+)<\/p>/);
|
| 42 |
+
//if (!k) throw new Error('key not found in response');
|
| 43 |
return k[1]?.trim();
|
| 44 |
}
|
| 45 |
|