From 4ff577844dba332eb081c209240745edaa1c40b3 Mon Sep 17 00:00:00 2001 From: Ricardo Date: Thu, 14 Jan 2021 17:13:06 +0000 Subject: [PATCH] fix: show comments on netlify domain --- src/.vuepress/theme/layouts/BlogPost.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/.vuepress/theme/layouts/BlogPost.vue b/src/.vuepress/theme/layouts/BlogPost.vue index 93884f98..a796e6a7 100644 --- a/src/.vuepress/theme/layouts/BlogPost.vue +++ b/src/.vuepress/theme/layouts/BlogPost.vue @@ -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' }, }