diff options
Diffstat (limited to 'server/controllers/api')
-rw-r--r-- | server/controllers/api/v1/videos.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/v1/videos.js b/server/controllers/api/v1/videos.js index 73e496ace..e903cbcf4 100644 --- a/server/controllers/api/v1/videos.js +++ b/server/controllers/api/v1/videos.js | |||
@@ -251,7 +251,7 @@ function getFormatedVideo (videoObj) { | |||
251 | id: videoObj._id, | 251 | id: videoObj._id, |
252 | name: videoObj.name, | 252 | name: videoObj.name, |
253 | description: videoObj.description, | 253 | description: videoObj.description, |
254 | podUrl: videoObj.podUrl, | 254 | podUrl: videoObj.podUrl.replace(/^https?:\/\//, ''), |
255 | isLocal: videos.getVideoState(videoObj).owned, | 255 | isLocal: videos.getVideoState(videoObj).owned, |
256 | magnetUri: videoObj.magnetUri, | 256 | magnetUri: videoObj.magnetUri, |
257 | author: videoObj.author, | 257 | author: videoObj.author, |