increase count
This commit is contained in:
2
index.js
2
index.js
@ -76,7 +76,7 @@ app.get("/check", async (req, res) => {
|
|||||||
|
|
||||||
const baseDomain = getBaseDomain(hostname);
|
const baseDomain = getBaseDomain(hostname);
|
||||||
const { count } = domainCount.get({ $base: baseDomain });
|
const { count } = domainCount.get({ $base: baseDomain });
|
||||||
if (count >= 3) {
|
if (count >= 100) {
|
||||||
return res.status(400).end();
|
return res.status(400).end();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user