mirror of https://github.com/Chocobozzz/PeerTube
Remove debug logs
parent
97816649b7
commit
de97d62109
|
@ -1749,8 +1749,6 @@ export class VideoModel extends Model<VideoModel> {
|
||||||
const { baseUrlHttp, baseUrlWs } = this.getBaseUrls()
|
const { baseUrlHttp, baseUrlWs } = this.getBaseUrls()
|
||||||
let files: MVideoFileRedundanciesOpt[] = []
|
let files: MVideoFileRedundanciesOpt[] = []
|
||||||
|
|
||||||
logger.info('coucou', { files })
|
|
||||||
|
|
||||||
if (Array.isArray(this.VideoFiles)) {
|
if (Array.isArray(this.VideoFiles)) {
|
||||||
files = files.concat(this.VideoFiles)
|
files = files.concat(this.VideoFiles)
|
||||||
}
|
}
|
||||||
|
@ -1759,8 +1757,6 @@ export class VideoModel extends Model<VideoModel> {
|
||||||
files = files.concat(p.VideoFiles || [])
|
files = files.concat(p.VideoFiles || [])
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.info('coucou', { files, video: this.VideoStreamingPlaylists })
|
|
||||||
|
|
||||||
return videoFilesModelToFormattedJSON(this, baseUrlHttp, baseUrlWs, files)
|
return videoFilesModelToFormattedJSON(this, baseUrlHttp, baseUrlWs, files)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue