Update rateLimit.ts (#20785)
This commit is contained in:
1 parent
a77bd7bbe0
commit
930165b6e8
1 file changed
+1
-1
@@ -22,7 +22,7 @@ export function rateLimiter() {
|
||||
const { UNKEY_ROOT_KEY } = process.env;
|
||||
|
||||
if (!UNKEY_ROOT_KEY) {
|
||||
log.warn("Disabled due to not finding UNKEY_ROOT_KEY env variable");
|
||||
log.warn("Disabled because the UNKEY_ROOT_KEY environment variable was not found.");
|
||||
return () => ({ success: true, limit: 10, remaining: 999, reset: 0 } as RatelimitResponse);
|
||||
}
|
||||
const timeout = {
|
||||
|
||||
Reference in new issue
Block a user