From de2a56ba99a8ae1a732495b7b15f173463c9fbd1 Mon Sep 17 00:00:00 2001 From: Grant Date: Mon, 15 Jul 2024 15:29:42 -0600 Subject: [PATCH] typo in redis default key in ratelimiter --- packages/server/src/lib/RateLimiter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/src/lib/RateLimiter.ts b/packages/server/src/lib/RateLimiter.ts index 54e6635..61f674b 100644 --- a/packages/server/src/lib/RateLimiter.ts +++ b/packages/server/src/lib/RateLimiter.ts @@ -2,7 +2,7 @@ import rateLimit from "express-rate-limit"; import RedisStore from "rate-limit-redis"; import { Redis } from "./redis"; -const REDIS_PREFIX = process.env.REDIS_RATELIMIT_PREFIX || "canavs_ratelimit:"; +const REDIS_PREFIX = process.env.REDIS_RATELIMIT_PREFIX || "canvas_ratelimit:"; // TODO: Move these static settings to dynamic (related #101)