mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Rename "videos" config to "web-videos"
This commit is contained in:
parent
76824f522a
commit
d732ec7b46
32 changed files with 69 additions and 68 deletions
|
@ -42,7 +42,7 @@ export class ObjectStorageCommand {
|
|||
bucket_name: this.getMockStreamingPlaylistsBucketName()
|
||||
},
|
||||
|
||||
videos: {
|
||||
web_videos: {
|
||||
bucket_name: this.getMockWebVideosBucketName()
|
||||
}
|
||||
}
|
||||
|
@ -136,9 +136,9 @@ export class ObjectStorageCommand {
|
|||
prefix: `test:server-${serverNumber}-streaming-playlists:`
|
||||
},
|
||||
|
||||
videos: {
|
||||
web_videos: {
|
||||
bucket_name: this.DEFAULT_SCALEWAY_BUCKET,
|
||||
prefix: `test:server-${serverNumber}-videos:`
|
||||
prefix: `test:server-${serverNumber}-web-videos:`
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -370,7 +370,7 @@ export class PeerTubeServer {
|
|||
tmp_persistent: this.getDirectoryPath('tmp-persistent') + '/',
|
||||
bin: this.getDirectoryPath('bin') + '/',
|
||||
avatars: this.getDirectoryPath('avatars') + '/',
|
||||
videos: this.getDirectoryPath('videos') + '/',
|
||||
web_videos: this.getDirectoryPath('web-videos') + '/',
|
||||
streaming_playlists: this.getDirectoryPath('streaming-playlists') + '/',
|
||||
redundancy: this.getDirectoryPath('redundancy') + '/',
|
||||
logs: this.getDirectoryPath('logs') + '/',
|
||||
|
|
|
@ -78,7 +78,7 @@ export class ServersCommand extends AbstractCommand {
|
|||
}
|
||||
|
||||
buildWebVideoFilePath (fileUrl: string) {
|
||||
return this.buildDirectory(join('videos', basename(fileUrl)))
|
||||
return this.buildDirectory(join('web-videos', basename(fileUrl)))
|
||||
}
|
||||
|
||||
buildFragmentedFilePath (videoUUID: string, fileUrl: string) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue