mirror of https://github.com/Chocobozzz/PeerTube
Don't send the "http(s)" for the podUrl
parent
f1f4732f8e
commit
9e379c835c
|
@ -251,7 +251,7 @@ function getFormatedVideo (videoObj) {
|
||||||
id: videoObj._id,
|
id: videoObj._id,
|
||||||
name: videoObj.name,
|
name: videoObj.name,
|
||||||
description: videoObj.description,
|
description: videoObj.description,
|
||||||
podUrl: videoObj.podUrl,
|
podUrl: videoObj.podUrl.replace(/^https?:\/\//, ''),
|
||||||
isLocal: videos.getVideoState(videoObj).owned,
|
isLocal: videos.getVideoState(videoObj).owned,
|
||||||
magnetUri: videoObj.magnetUri,
|
magnetUri: videoObj.magnetUri,
|
||||||
author: videoObj.author,
|
author: videoObj.author,
|
||||||
|
|
Loading…
Reference in New Issue