diff --git a/controllers/serveController.js b/controllers/serveController.js index 16d5ac67..bbc96dab 100644 --- a/controllers/serveController.js +++ b/controllers/serveController.js @@ -12,6 +12,7 @@ const NO_CHANNEL = 'NO_CHANNEL'; const NO_CLAIM = 'NO_CLAIM'; function checkForLocalAssetByClaimId (claimId, name) { + logger.debug(`checkForLocalAssetsByClaimId(${claimId}, ${name}`); return new Promise((resolve, reject) => { db.File .findOne({where: { name, claimId }}) @@ -69,7 +70,8 @@ function getAssetByLongClaimId (fullClaimId, name) { logger.debug('resolve result >> ', resolveResult); // if no result, return early (claim doesn't exist or isn't free) if (!resolveResult) { - return resolve(null); + resolve(NO_CLAIM); + return; } let fileRecord = {}; // get the claim diff --git a/public/assets/img/GitHub-Mark-32px.png b/public/assets/img/GitHub-Mark-32px.png deleted file mode 100644 index 8b25551a..00000000 Binary files a/public/assets/img/GitHub-Mark-32px.png and /dev/null differ diff --git a/public/assets/img/content-freedom-64px.png b/public/assets/img/content-freedom-64px.png deleted file mode 100644 index d000068e..00000000 Binary files a/public/assets/img/content-freedom-64px.png and /dev/null differ diff --git a/public/assets/img/content-freedom-large.png b/public/assets/img/content-freedom-large.png deleted file mode 100644 index 318746da..00000000 Binary files a/public/assets/img/content-freedom-large.png and /dev/null differ diff --git a/public/assets/img/down_triangle.png b/public/assets/img/down_triangle.png deleted file mode 100644 index c5f5544a..00000000 Binary files a/public/assets/img/down_triangle.png and /dev/null differ diff --git a/public/assets/img/logo.gif b/public/assets/img/logo.gif deleted file mode 100644 index 259a18e0..00000000 Binary files a/public/assets/img/logo.gif and /dev/null differ diff --git a/public/assets/js/publishFileFunctions.js b/public/assets/js/publishFileFunctions.js index 42222e32..0a84b8a5 100644 --- a/public/assets/js/publishFileFunctions.js +++ b/public/assets/js/publishFileFunctions.js @@ -35,7 +35,7 @@ function previewAndStageFile(selectedFile){ thumbnailSelectionInput.value = ''; thumbnailSelectionTool.hidden = true; } else { - assetPreview.innerHTML = ``; + assetPreview.innerHTML = ``; // clear & show the thumbnail selection input thumbnailSelectionInput.value = ''; thumbnailSelectionTool.hidden = false; diff --git a/views/noChannel.handlebars b/views/noChannel.handlebars index 19476180..6f43d584 100644 --- a/views/noChannel.handlebars +++ b/views/noChannel.handlebars @@ -1,4 +1,4 @@ -
+

No Channel

There are no published channels matching your url

If you think this message is an error, contact us in the LBRY Discord!

diff --git a/views/noClaim.handlebars b/views/noClaim.handlebars index 6cc37965..86273814 100644 --- a/views/noClaim.handlebars +++ b/views/noClaim.handlebars @@ -1,4 +1,4 @@ -
+

No Claims

There are no free assets at that claim. You should publish one at spee.ch.

NOTE: it is possible your claim was published, but it is still being processed by the blockchain