aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-22 10:32:53 +0200
committerChocobozzz <me@florianbigard.com>2021-10-22 10:32:53 +0200
commit7f91ecbde475fcbf9e4997786b7a313ff4b8587c (patch)
tree792261de87af7889119dd09db47ca8fc941a9086 /server
parent619537426bbb9fcb9f2825068d5f907db0dc1f09 (diff)
downloadPeerTube-7f91ecbde475fcbf9e4997786b7a313ff4b8587c.tar.gz
PeerTube-7f91ecbde475fcbf9e4997786b7a313ff4b8587c.tar.zst
PeerTube-7f91ecbde475fcbf9e4997786b7a313ff4b8587c.zip
Completely remove torrent static path
Diffstat (limited to 'server')
-rw-r--r--server/initializers/constants.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index dc5747fc7..87a74a32c 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -583,7 +583,6 @@ const NSFW_POLICY_TYPES: { [ id: string ]: NSFWPolicyType } = {
583// Express static paths (router) 583// Express static paths (router)
584const STATIC_PATHS = { 584const STATIC_PATHS = {
585 THUMBNAILS: '/static/thumbnails/', 585 THUMBNAILS: '/static/thumbnails/',
586 TORRENTS: '/static/torrents/',
587 WEBSEED: '/static/webseed/', 586 WEBSEED: '/static/webseed/',
588 REDUNDANCY: '/static/redundancy/', 587 REDUNDANCY: '/static/redundancy/',
589 STREAMING_PLAYLISTS: { 588 STREAMING_PLAYLISTS: {