diff options
author | Chocobozzz <me@florianbigard.com> | 2023-07-11 11:39:59 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-07-11 11:39:59 +0200 |
commit | 34555bebf8e2a2caf2cb1cfd85280d140fcc3802 (patch) | |
tree | 9c5e5eb78891bb09d23ae3fe37fe3db69bb8a2d9 /server/initializers/constants.ts | |
parent | d732ec7b46caa2a0972f132894023fec6bc5dd6a (diff) | |
download | PeerTube-34555bebf8e2a2caf2cb1cfd85280d140fcc3802.tar.gz PeerTube-34555bebf8e2a2caf2cb1cfd85280d140fcc3802.tar.zst PeerTube-34555bebf8e2a2caf2cb1cfd85280d140fcc3802.zip |
Migrate from webseed to web-videos
Diffstat (limited to 'server/initializers/constants.ts')
-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/' |