diff options
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.ts | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index 5116c6396..03ae94d35 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -750,8 +750,13 @@ const STATIC_PATHS = { | |||
750 | // TODO: deprecated in v6, to remove | 750 | // TODO: deprecated in v6, to remove |
751 | THUMBNAILS: '/static/thumbnails/', | 751 | THUMBNAILS: '/static/thumbnails/', |
752 | 752 | ||
753 | WEBSEED: '/static/webseed/', | 753 | // Need to keep this legacy path for previously generated torrents |
754 | PRIVATE_WEBSEED: '/static/webseed/private/', | 754 | LEGACY_WEB_VIDEOS: '/static/webseed/', |
755 | WEB_VIDEOS: '/static/web-videos/', | ||
756 | |||
757 | // Need to keep this legacy path for previously generated torrents | ||
758 | LEGACY_PRIVATE_WEB_VIDEOS: '/static/webseed/private/', | ||
759 | PRIVATE_WEB_VIDEOS: '/static/web-videos/private/', | ||
755 | 760 | ||
756 | REDUNDANCY: '/static/redundancy/', | 761 | REDUNDANCY: '/static/redundancy/', |
757 | 762 | ||
@@ -775,7 +780,9 @@ const LAZY_STATIC_PATHS = { | |||
775 | STORYBOARDS: '/lazy-static/storyboards/' | 780 | STORYBOARDS: '/lazy-static/storyboards/' |
776 | } | 781 | } |
777 | const OBJECT_STORAGE_PROXY_PATHS = { | 782 | const OBJECT_STORAGE_PROXY_PATHS = { |
778 | PRIVATE_WEBSEED: '/object-storage-proxy/webseed/private/', | 783 | // Need to keep this legacy path for previously generated torrents |
784 | LEGACY_PRIVATE_WEB_VIDEOS: '/object-storage-proxy/webseed/private/', | ||
785 | PRIVATE_WEB_VIDEOS: '/object-storage-proxy/web-videos/private/', | ||
779 | 786 | ||
780 | STREAMING_PLAYLISTS: { | 787 | STREAMING_PLAYLISTS: { |
781 | PRIVATE_HLS: '/object-storage-proxy/streaming-playlists/hls/private/' | 788 | PRIVATE_HLS: '/object-storage-proxy/streaming-playlists/hls/private/' |