diff --git a/helpers/functions/isFreePublicClaim.js b/helpers/functions/isFreePublicClaim.js index d501e736..bceb424e 100644 --- a/helpers/functions/isFreePublicClaim.js +++ b/helpers/functions/isFreePublicClaim.js @@ -1,5 +1,5 @@ const logger = require('winston'); -const licenses = ['Creative Commons', 'Public Domain', 'CC Attribution-NonCommercial 4.0 International']; +const licenses = ['Creative Commons', 'Public Domain', 'Creative Commons Attribution 4.0 International', 'Creative Commons Attribution-ShareAlike 4.0 International', 'Creative Commons Attribution-NoDerivatives 4.0 International', 'Creative Commons Attribution-NonCommercial 4.0 International', 'Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International', 'Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International']; module.exports = ({ value }) => { if ((licenses.includes(value.stream.metadata.license)) && (!value.stream.metadata.fee || value.stream.metadata.fee.amount === 0)) { diff --git a/views/partials/publish.handlebars b/views/partials/publish.handlebars index b127f53e..e17816e3 100644 --- a/views/partials/publish.handlebars +++ b/views/partials/publish.handlebars @@ -20,12 +20,6 @@
@@ -63,4 +57,4 @@ // remove nsfw check document.getElementById('publish-nsfw').checked = false; } - \ No newline at end of file +