mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Don't send the "http(s)" for the podUrl
This commit is contained in:
parent
f1f4732f8e
commit
9e379c835c
@ -251,7 +251,7 @@ function getFormatedVideo (videoObj) {
|
||||
id: videoObj._id,
|
||||
name: videoObj.name,
|
||||
description: videoObj.description,
|
||||
podUrl: videoObj.podUrl,
|
||||
podUrl: videoObj.podUrl.replace(/^https?:\/\//, ''),
|
||||
isLocal: videos.getVideoState(videoObj).owned,
|
||||
magnetUri: videoObj.magnetUri,
|
||||
author: videoObj.author,
|
||||
|
Loading…
Reference in New Issue
Block a user