Skip to content

Commit 8b122c8

Browse files
committed
Remove old debug code
1 parent 3092f95 commit 8b122c8

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

routes/api.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ async function genUser(req, res, version) {
6666
const ip = req.headers['cf-connecting-ip'] || req.headers['x-real-ip'] || req.headers['x-forwarded-for'] || req.connection.remoteAddress;
6767

6868
if (process.env.spec !== "true" && clients[ip] >= settings.limit) {
69-
console.log(process.env.spec);
7069
return res.status(503).json({
7170
error: `Whoa, ease up there cowboy. You've requested ${clients[ip]} users in the last minute. Help us keep this service free and spare some bandwidth for other users please :)`
7271
});

0 commit comments

Comments
 (0)