diff --git a/helpers/serveHelpers.js b/helpers/serveHelpers.js index 7301927c..9dedd8b5 100644 --- a/helpers/serveHelpers.js +++ b/helpers/serveHelpers.js @@ -5,7 +5,7 @@ function createOpenGraphInfo ({ fileType, claimId, name, fileName, fileExt }) { embedUrl : `https://spee.ch/embed/${claimId}/${name}`, showUrl : `https://spee.ch/${claimId}/${name}`, source : `https://spee.ch/${claimId}/${name}${fileExt}`, - directFileUrl: `https://spee.ch/media/${fileName}`, + directFileUrl: `https://spee.ch/${claimId}/${name}${fileExt}`, }; } diff --git a/views/partials/asset.handlebars b/views/partials/asset.handlebars index bbbdb8e6..6d6062d5 100644 --- a/views/partials/asset.handlebars +++ b/views/partials/asset.handlebars @@ -1,19 +1,19 @@ {{#ifConditional fileInfo.fileType '===' 'video/mp4'}} {{#ifConditional fileInfo.fileExt '===' 'gifv'}} {{else}} {{/ifConditional}} {{else}} - + {{/ifConditional}} \ No newline at end of file diff --git a/views/showLite.handlebars b/views/showLite.handlebars index 115beaf7..ce807ced 100644 --- a/views/showLite.handlebars +++ b/views/showLite.handlebars @@ -1,13 +1,13 @@ {{#ifConditional fileInfo.fileType '===' 'video/mp4'}} {{#ifConditional fileInfo.fileExt '===' '.gifv'}} {{else}} @@ -16,6 +16,6 @@ hosted via spee<h {{else}} - {{fileInfo.fileName}} + {{fileInfo.fileName}} {{/ifConditional}} \ No newline at end of file