typo in redis default key in ratelimiter
This commit is contained in:
parent
6cf1aaca5c
commit
de2a56ba99
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue