Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix logic

Maidul Islam2084539f61a8
diff --git a/backend/src/server/app.ts b/backend/src/server/app.ts
index cfe7c032b4..3f5c477ef5 100644
--- a/backend/src/server/app.ts
+++ b/backend/src/server/app.ts
@@ -113,7 +113,7 @@ export const main = async ({ db, hsmModule, auditLogDb, smtp, logger, queue, key
await server.register(fastifyErrHandler);
// Rate limiters and security headers
- if (appCfg.isProductionMode && !appCfg.isCloud) {
+ if (appCfg.isProductionMode && appCfg.isCloud) {
await server.register<FastifyRateLimitOptions>(ratelimiter, globalRateLimiterCfg());
}