premAI-io/state-of-open-source-ai

comments: Sign in not working

Closed this issue · 1 comments

nsosio commented

When signing in with GitHub to add a comment in a chapter I've got 404.

image

this is caused by https://utteranc.es redirecting to /chapter.html (rather than /chapter/ or /chapter/index.html).

Based on utterance/utterances#474 this is due to jupyter-book build --builder dirhtml generating:

<link rel="canonical" href=".../chapter.html" />

instead of:

<link rel="canonical" href=".../chapter/" />

just reported in jupyter-book/jupyter-book#2066