diff options
Diffstat (limited to 'server/models/video.js')
-rw-r--r-- | server/models/video.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/models/video.js b/server/models/video.js index ceed976b0..17eff6428 100644 --- a/server/models/video.js +++ b/server/models/video.js | |||
@@ -335,7 +335,7 @@ function toFormatedJSON () { | |||
335 | author: this.Author.name, | 335 | author: this.Author.name, |
336 | duration: this.duration, | 336 | duration: this.duration, |
337 | tags: map(this.Tags, 'name'), | 337 | tags: map(this.Tags, 'name'), |
338 | thumbnailPath: constants.STATIC_PATHS.THUMBNAILS + '/' + this.getThumbnailName(), | 338 | thumbnailPath: pathUtils.join(constants.STATIC_PATHS.THUMBNAILS, this.getThumbnailName()), |
339 | createdAt: this.createdAt, | 339 | createdAt: this.createdAt, |
340 | updatedAt: this.updatedAt | 340 | updatedAt: this.updatedAt |
341 | } | 341 | } |