diff options
Diffstat (limited to 'server/middlewares/cache')
-rw-r--r-- | server/middlewares/cache/cache.ts | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/server/middlewares/cache/cache.ts b/server/middlewares/cache/cache.ts index 48162a0ae..e14160ba8 100644 --- a/server/middlewares/cache/cache.ts +++ b/server/middlewares/cache/cache.ts | |||
@@ -1,10 +1,6 @@ | |||
1 | import { HttpStatusCode } from '../../../shared/models/http/http-error-codes' | 1 | import { HttpStatusCode } from '../../../shared/models/http/http-error-codes' |
2 | import { Redis } from '../../lib/redis' | ||
3 | import { ApiCache, APICacheOptions } from './shared' | 2 | import { ApiCache, APICacheOptions } from './shared' |
4 | 3 | ||
5 | // Ensure Redis is initialized | ||
6 | Redis.Instance.init() | ||
7 | |||
8 | const defaultOptions: APICacheOptions = { | 4 | const defaultOptions: APICacheOptions = { |
9 | excludeStatus: [ | 5 | excludeStatus: [ |
10 | HttpStatusCode.FORBIDDEN_403, | 6 | HttpStatusCode.FORBIDDEN_403, |