A tonne more changes, including new nocodb admin section, search for database, code cleanups, and debugging
This commit is contained in:
@@ -15,6 +15,7 @@ const apiLimiter = rateLimit({
|
||||
keyGenerator,
|
||||
standardHeaders: true,
|
||||
legacyHeaders: false,
|
||||
trustProxy: true, // Explicitly trust proxy
|
||||
message: 'Too many requests, please try again later.'
|
||||
});
|
||||
|
||||
@@ -23,6 +24,7 @@ const strictLimiter = rateLimit({
|
||||
windowMs: 15 * 60 * 1000,
|
||||
max: 20,
|
||||
keyGenerator,
|
||||
trustProxy: true, // Explicitly trust proxy
|
||||
message: 'Too many write operations, please try again later.'
|
||||
});
|
||||
|
||||
@@ -33,6 +35,7 @@ const authLimiter = rateLimit({
|
||||
keyGenerator,
|
||||
standardHeaders: true,
|
||||
legacyHeaders: false,
|
||||
trustProxy: true, // Explicitly trust proxy
|
||||
message: 'Too many login attempts, please try again later.',
|
||||
skipSuccessfulRequests: true
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user