aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/middlewares/cache/shared
diff options
context:
space:
mode:
Diffstat (limited to 'server/middlewares/cache/shared')
-rw-r--r--server/middlewares/cache/shared/api-cache.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/middlewares/cache/shared/api-cache.ts b/server/middlewares/cache/shared/api-cache.ts
index f9f7b1b67..f8846dcfc 100644
--- a/server/middlewares/cache/shared/api-cache.ts
+++ b/server/middlewares/cache/shared/api-cache.ts
@@ -1,7 +1,7 @@
1// Thanks: https://github.com/kwhitley/apicache 1// Thanks: https://github.com/kwhitley/apicache
2// We duplicated the library because it is unmaintened and prevent us to upgrade to recent NodeJS versions 2// We duplicated the library because it is unmaintened and prevent us to upgrade to recent NodeJS versions
3 3
4import * as express from 'express' 4import express from 'express'
5import { OutgoingHttpHeaders } from 'http' 5import { OutgoingHttpHeaders } from 'http'
6import { isTestInstance, parseDurationToMs } from '@server/helpers/core-utils' 6import { isTestInstance, parseDurationToMs } from '@server/helpers/core-utils'
7import { logger } from '@server/helpers/logger' 7import { logger } from '@server/helpers/logger'