From 709e633c30b89dfc244564a6fe2ee72d84cfcbd7 Mon Sep 17 00:00:00 2001 From: Jessica Schilling Date: Wed, 10 Mar 2021 14:22:47 -0700 Subject: [PATCH] Add comments hostnames for Companion locations --- src/.vuepress/theme/layouts/BlogPost.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/.vuepress/theme/layouts/BlogPost.vue b/src/.vuepress/theme/layouts/BlogPost.vue index 5f7249ce..b06761b3 100644 --- a/src/.vuepress/theme/layouts/BlogPost.vue +++ b/src/.vuepress/theme/layouts/BlogPost.vue @@ -49,8 +49,11 @@ export default { mounted() { this.showComments = window.location.hostname === 'blog.ipfs.io' || + window.location.hostname === 'blog.ipfs.io.ipns.localhost:8080' || window.location.hostname === 'ipfs-blog.on.fleek.co' || - window.location.hostname === 'ipfs-blog-staging.on.fleek.co' + window.location.hostname === 'ipfs-blog.on.fleek.co.ipns.localhost:8080' || + window.location.hostname === 'ipfs-blog-staging.on.fleek.co' || + window.location.hostname === 'ipfs-blog-staging.on.fleek.co.ipns.localhost:8080' }, }