fix: show comments on netlify domain

This commit is contained in:
Ricardo
2021-01-14 17:13:06 +00:00
parent ef2fba02a7
commit 4ff577844d
+3 -1
View File
@@ -44,7 +44,9 @@ export default {
showComments: null,
}),
mounted() {
this.showComments = window.location.hostname === 'blog.ipfs.io'
this.showComments =
window.location.hostname === 'blog.ipfs.io' ||
window.location.hostname === 'ipfsblog-vuepress.netlify.app'
},
}
</script>