Skip to content
This repository was archived by the owner on Jul 4, 2024. It is now read-only.

Commit 6330ad2

Browse files
committed
0 libs bouy
1 parent 390fbe3 commit 6330ad2

File tree

2 files changed

+14
-336
lines changed

2 files changed

+14
-336
lines changed

api/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
module.exports = (req,res) => {
2-
const randomStr = Math.random()
2+
const query = req.query;
3+
const randomStr = Math.random(query)
34
.toString(36)
45
.replace(".", "");
56
const moreRandomStr = Math.random(randomStr).toString(36);
6-
const ultraRandomStr = Math.random(moreRandomStr).toString(36).replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\]\\]/gi, "");
7+
const ultraRandomStr = Math.random(moreRandomStr).toString(36).replace(/[`~!@#$%^&*()_|+\-=?;0:'",.<>\]\\]/gi, "");
78
res.send(`${ultraRandomStr}`);
8-
};
9+
};

0 commit comments

Comments
 (0)