remove allow_agent
This commit is contained in:
1 parent
71c1b979da
commit
537ddde189
1 file changed
+1
-1
@@ -12,7 +12,7 @@ import { uuid } from 'lib/crypto';
|
||||
export default async (req, res) => {
|
||||
await useCors(req, res);
|
||||
|
||||
if (isbot(req.headers['user-agent']) && !process.env.ALLOW_AGENT) {
|
||||
if (isbot(req.headers['user-agent'])) {
|
||||
return ok(res);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user