mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Don't expose constants directly in initializers/
This commit is contained in:
parent
6dd9de95df
commit
74dc3bca2b
114 changed files with 168 additions and 144 deletions
|
@ -4,7 +4,7 @@ import { VideoModel } from '../../models/video/video'
|
|||
import { asyncMiddleware } from '../../middlewares'
|
||||
import { TagModel } from '../../models/video/tag'
|
||||
import { VideosOverview } from '../../../shared/models/overviews'
|
||||
import { MEMOIZE_TTL, OVERVIEWS, ROUTE_CACHE_LIFETIME } from '../../initializers'
|
||||
import { MEMOIZE_TTL, OVERVIEWS, ROUTE_CACHE_LIFETIME } from '../../initializers/constants'
|
||||
import { cacheRoute } from '../../middlewares/cache'
|
||||
import * as memoizee from 'memoizee'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue