typo in redis default key in ratelimiter

This commit is contained in:
Grant 2024-07-15 15:29:42 -06:00
parent 6cf1aaca5c
commit de2a56ba99
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ import rateLimit from "express-rate-limit";
import RedisStore from "rate-limit-redis"; import RedisStore from "rate-limit-redis";
import { Redis } from "./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) // TODO: Move these static settings to dynamic (related #101)