dodd869 commited on
Commit
ca00f0f
·
verified ·
1 Parent(s): 0a323a6

Update srv.js

Browse files
Files changed (1) hide show
  1. srv.js +1 -1
srv.js CHANGED
@@ -9,7 +9,7 @@ const allowed = ['MLBB', 'BS', 'PUBG'];
9
  async function fetchKey(game) {
10
  if (!allowed.includes(game)) throw new Error('Invalid game');
11
 
12
- const idxRes = await fetch('https://aamod.site/genkey/index.php');
13
  const idxTxt = await idxRes.text();
14
  const m = idxTxt.match(/const sessionToken\s*=\s*["']([^"']+)["']/);
15
  if (!m) throw new Error('sessionToken not found');
 
9
  async function fetchKey(game) {
10
  if (!allowed.includes(game)) throw new Error('Invalid game');
11
 
12
+ const idxRes = await fetch('https://web.aachann.my.id/Get-key/');
13
  const idxTxt = await idxRes.text();
14
  const m = idxTxt.match(/const sessionToken\s*=\s*["']([^"']+)["']/);
15
  if (!m) throw new Error('sessionToken not found');