diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-22 10:32:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-22 10:32:53 +0200 |
commit | 7f91ecbde475fcbf9e4997786b7a313ff4b8587c (patch) | |
tree | 792261de87af7889119dd09db47ca8fc941a9086 /server | |
parent | 619537426bbb9fcb9f2825068d5f907db0dc1f09 (diff) | |
download | PeerTube-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.ts | 1 |
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) |
584 | const STATIC_PATHS = { | 584 | const 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: { |