From d4be277ffa2a32a1a021e9963c8b433b5be21556 Mon Sep 17 00:00:00 2001 From: bill bittner Date: Tue, 17 Oct 2017 14:15:02 -0700 Subject: [PATCH] changed /media/ to speech url (#126) --- helpers/serveHelpers.js | 2 +- views/partials/asset.handlebars | 6 +++--- views/showLite.handlebars | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) 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