Update server.js
Browse files
server.js
CHANGED
|
@@ -9,7 +9,7 @@ const app = express();
|
|
| 9 |
app.use(express.json());
|
| 10 |
|
| 11 |
app.post('/run', async (req, res) => {
|
| 12 |
-
const { url = 'https://ysmteam.io.vn/keys/free?admin=YSMTEAM
|
| 13 |
const ts = Date.now();
|
| 14 |
const dir = join(tmpdir(), `ysm-${ts}`);
|
| 15 |
mkdirSync(dir, { recursive: true });
|
|
|
|
| 9 |
app.use(express.json());
|
| 10 |
|
| 11 |
app.post('/run', async (req, res) => {
|
| 12 |
+
const { url = 'https://ysmteam.io.vn/keys/free?admin=YSMTEAM®ion=Global', game = 'com.dts.freefireth' } = req.body;
|
| 13 |
const ts = Date.now();
|
| 14 |
const dir = join(tmpdir(), `ysm-${ts}`);
|
| 15 |
mkdirSync(dir, { recursive: true });
|