diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-12 16:09:02 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-10-24 14:48:24 +0200 |
commit | 3545e72c686ff1725bbdfd8d16d693e2f4aa75a3 (patch) | |
tree | e7f1d12ef5dae1e1142c3a8d0b681c1dbbb0de10 /shared/server-commands/server | |
parent | 38a3ccc7f8ad0ea94362b58c732af7c387ab46be (diff) | |
download | PeerTube-3545e72c686ff1725bbdfd8d16d693e2f4aa75a3.tar.gz PeerTube-3545e72c686ff1725bbdfd8d16d693e2f4aa75a3.tar.zst PeerTube-3545e72c686ff1725bbdfd8d16d693e2f4aa75a3.zip |
Put private videos under a specific subdirectory
Diffstat (limited to 'shared/server-commands/server')
-rw-r--r-- | shared/server-commands/server/server.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/shared/server-commands/server/server.ts b/shared/server-commands/server/server.ts index 7096faf21..c062e6986 100644 --- a/shared/server-commands/server/server.ts +++ b/shared/server-commands/server/server.ts | |||
@@ -36,6 +36,7 @@ import { | |||
36 | StreamingPlaylistsCommand, | 36 | StreamingPlaylistsCommand, |
37 | VideosCommand, | 37 | VideosCommand, |
38 | VideoStudioCommand, | 38 | VideoStudioCommand, |
39 | VideoTokenCommand, | ||
39 | ViewsCommand | 40 | ViewsCommand |
40 | } from '../videos' | 41 | } from '../videos' |
41 | import { CommentsCommand } from '../videos/comments-command' | 42 | import { CommentsCommand } from '../videos/comments-command' |
@@ -145,6 +146,7 @@ export class PeerTubeServer { | |||
145 | videoStats?: VideoStatsCommand | 146 | videoStats?: VideoStatsCommand |
146 | views?: ViewsCommand | 147 | views?: ViewsCommand |
147 | twoFactor?: TwoFactorCommand | 148 | twoFactor?: TwoFactorCommand |
149 | videoToken?: VideoTokenCommand | ||
148 | 150 | ||
149 | constructor (options: { serverNumber: number } | { url: string }) { | 151 | constructor (options: { serverNumber: number } | { url: string }) { |
150 | if ((options as any).url) { | 152 | if ((options as any).url) { |
@@ -427,5 +429,6 @@ export class PeerTubeServer { | |||
427 | this.videoStats = new VideoStatsCommand(this) | 429 | this.videoStats = new VideoStatsCommand(this) |
428 | this.views = new ViewsCommand(this) | 430 | this.views = new ViewsCommand(this) |
429 | this.twoFactor = new TwoFactorCommand(this) | 431 | this.twoFactor = new TwoFactorCommand(this) |
432 | this.videoToken = new VideoTokenCommand(this) | ||
430 | } | 433 | } |
431 | } | 434 | } |