aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/video/video-details.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-11-22 17:27:46 +0100
committerChocobozzz <me@florianbigard.com>2019-11-25 10:59:50 +0100
commitefcd6f2e625c1c5d06025f27a2bf3a84d3f8b483 (patch)
tree03d961f65aec199ec32cb592831b1381bd50a149 /client/src/app/shared/video/video-details.model.ts
parent0f2f274c9837bbcd95446778314c9c32831faa0e (diff)
downloadPeerTube-efcd6f2e625c1c5d06025f27a2bf3a84d3f8b483.tar.gz
PeerTube-efcd6f2e625c1c5d06025f27a2bf3a84d3f8b483.tar.zst
PeerTube-efcd6f2e625c1c5d06025f27a2bf3a84d3f8b483.zip
Fix fragmented download URL
Diffstat (limited to 'client/src/app/shared/video/video-details.model.ts')
-rw-r--r--client/src/app/shared/video/video-details.model.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/src/app/shared/video/video-details.model.ts b/client/src/app/shared/video/video-details.model.ts
index c2a85d8e8..14347a109 100644
--- a/client/src/app/shared/video/video-details.model.ts
+++ b/client/src/app/shared/video/video-details.model.ts
@@ -58,5 +58,7 @@ export class VideoDetails extends Video implements VideoDetailsServerModel {
58 58
59 getFiles () { 59 getFiles () {
60 if (this.files.length === 0) return this.getHlsPlaylist().files 60 if (this.files.length === 0) return this.getHlsPlaylist().files
61
62 return this.files
61 } 63 }
62} 64}