mirror of
https://github.com/ipfs/ipfs-blog.git
synced 2026-08-08 18:03:04 +02:00
fix: update discourse condition to show comments
This commit is contained in:
@@ -61,15 +61,11 @@ export default {
|
||||
}
|
||||
|
||||
this.showComments =
|
||||
!!ipfsPathPrefix ||
|
||||
window.location.hostname.includes('.ipns.localhost') ||
|
||||
window.location.hostname === 'blog.ipfs.io' ||
|
||||
window.location.hostname === 'blog.ipfs.io.ipns.localhost:8080' ||
|
||||
window.location.hostname === '127.0.0.1:8080/ipns/blog.ipfs.io/' ||
|
||||
window.location.hostname === 'ipfs-blog.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'
|
||||
window.location.hostname === 'ipfs-blog-staging.on.fleek.co'
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user