giscus-component
giscus-component copied to clipboard
New `host` property is sometimes blank in Vue SPA
I am using Giscus with Nuxt 3. After updating the @giscus/vue package, the host property (which I do not pass to the component) sometimes resolves to an empty string instead of https://giscus.app. From what I can tell, this only happens when jumping between pages using client-side navigation. When a page is loaded directly (reloading a page that has the Giscus component on it already), it loads fine. Manually specifying https://giscus.app as the host fixes the problem for now, but I think this is an unexpected regression.