mirror of
https://github.com/formbricks/formbricks.git
synced 2025-12-30 10:19:51 -06:00
fix: avoid blocking the request if it does not have an associated ip (#1540)
This commit is contained in:
committed by
GitHub
parent
9dc7d542be
commit
3a9ca829cc
@@ -30,9 +30,8 @@ export async function middleware(request: NextRequest) {
|
||||
|
||||
return NextResponse.json({ error: "Too many requests, Please try after a while!" }, { status: 429 });
|
||||
}
|
||||
} else {
|
||||
return NextResponse.json({ error: "Too many requests, Please try after a while!" }, { status: 429 });
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
||||
export const config = {
|
||||
|
||||
Reference in New Issue
Block a user