aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 59c30fdee..cabb0681a 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -196,7 +196,7 @@ const CONFIG = {
196 AVATARS_DIR: buildPath(config.get<string>('storage.avatars')), 196 AVATARS_DIR: buildPath(config.get<string>('storage.avatars')),
197 LOG_DIR: buildPath(config.get<string>('storage.logs')), 197 LOG_DIR: buildPath(config.get<string>('storage.logs')),
198 VIDEOS_DIR: buildPath(config.get<string>('storage.videos')), 198 VIDEOS_DIR: buildPath(config.get<string>('storage.videos')),
199 PLAYLISTS_DIR: buildPath(config.get<string>('storage.playlists')), 199 STREAMING_PLAYLISTS_DIR: buildPath(config.get<string>('storage.streaming_playlists')),
200 REDUNDANCY_DIR: buildPath(config.get<string>('storage.redundancy')), 200 REDUNDANCY_DIR: buildPath(config.get<string>('storage.redundancy')),
201 THUMBNAILS_DIR: buildPath(config.get<string>('storage.thumbnails')), 201 THUMBNAILS_DIR: buildPath(config.get<string>('storage.thumbnails')),
202 PREVIEWS_DIR: buildPath(config.get<string>('storage.previews')), 202 PREVIEWS_DIR: buildPath(config.get<string>('storage.previews')),
@@ -625,8 +625,8 @@ const STATIC_PATHS = {
625 TORRENTS: '/static/torrents/', 625 TORRENTS: '/static/torrents/',
626 WEBSEED: '/static/webseed/', 626 WEBSEED: '/static/webseed/',
627 REDUNDANCY: '/static/redundancy/', 627 REDUNDANCY: '/static/redundancy/',
628 PLAYLISTS: { 628 STREAMING_PLAYLISTS: {
629 HLS: '/static/playlists/hls' 629 HLS: '/static/streaming-playlists/hls'
630 }, 630 },
631 AVATARS: '/static/avatars/', 631 AVATARS: '/static/avatars/',
632 VIDEO_CAPTIONS: '/static/video-captions/' 632 VIDEO_CAPTIONS: '/static/video-captions/'
@@ -670,7 +670,7 @@ const CACHE = {
670 } 670 }
671} 671}
672 672
673const HLS_PLAYLIST_DIRECTORY = join(CONFIG.STORAGE.PLAYLISTS_DIR, 'hls') 673const HLS_STREAMING_PLAYLIST_DIRECTORY = join(CONFIG.STORAGE.STREAMING_PLAYLISTS_DIR, 'hls')
674const HLS_REDUNDANCY_DIRECTORY = join(CONFIG.STORAGE.REDUNDANCY_DIR, 'hls') 674const HLS_REDUNDANCY_DIRECTORY = join(CONFIG.STORAGE.REDUNDANCY_DIR, 'hls')
675 675
676const MEMOIZE_TTL = { 676const MEMOIZE_TTL = {
@@ -777,7 +777,7 @@ export {
777 PRIVATE_RSA_KEY_SIZE, 777 PRIVATE_RSA_KEY_SIZE,
778 ROUTE_CACHE_LIFETIME, 778 ROUTE_CACHE_LIFETIME,
779 SORTABLE_COLUMNS, 779 SORTABLE_COLUMNS,
780 HLS_PLAYLIST_DIRECTORY, 780 HLS_STREAMING_PLAYLIST_DIRECTORY,
781 FEEDS, 781 FEEDS,
782 JOB_TTL, 782 JOB_TTL,
783 NSFW_POLICY_TYPES, 783 NSFW_POLICY_TYPES,