8000
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Disqus threads get registered with the local preview URL #260
Links to a blog post in Disqus notification emails and in the Disqus moderation panel point to http://0.0.0.0:4000/... instead of https://aistomin.com/.... Seen on "Goethe-Zertifikat C1 — My Experience, Part III: What's Next?".
_layouts/post.html passes the thread address to Disqus as {{ site.url }}{{ page.url }}. In production this renders correctly, but jekyll serve in development replaces site.url with http://0.0.0.0:4000. The thread identifier is the same in both environments, so loading the comments on the local server talks to the real production thread. Disqus stores the URL it sees when a thread is first created, so a post whose comments are first loaded locally keeps the local address.
The e2e specs click "Load comments" on every local run, so each new post is almost guaranteed to be registered with the local URL before it is published.
Proposal
Give disqus_config a fixed production address that does not depend on site.url, e.g. a dedicated value in _config.yml, so the local server sends the same URL as production.
Add an e2e assertion that the rendered disqus_config URL starts with https://aistomin.com, whatever the environment.
Manually correct the stored URL of the affected threads in the Disqus admin (Discussions), and check the other two Goethe posts.
The code fix is in #262. This issue stays open until the stored thread URLs are verified.
On 2026-12-03 a URL map was uploaded in the Disqus admin (Migration Tools → URL mapper) for the three live threads. Disqus says the migration can take up to 24 hours.
To check on 2026-12-04
Open Discussions and confirm these threads link to https://aistomin.com/... instead of http://0.0.0.0:4000/...:
Activity
fix(#260): give disqus a fixed production thread url
aistomin commentedon Dec 3, 2026
The code fix is in #262. This issue stays open until the stored thread URLs are verified.
On 2026-12-03 a URL map was uploaded in the Disqus admin (Migration Tools → URL mapper) for the three live threads. Disqus says the migration can take up to 24 hours.
To check on 2026-12-04
Open Discussions and confirm these threads link to
https://aistomin.com/...instead ofhttp://0.0.0.0:4000/...:https://aistomin.com/2025/12/07/goethe-c1-whats-next.htmlhttps://aistomin.com/2025/11/25/goethe-c1-preparations.htmlhttps://aistomin.com/2025/11/19/goethe-c1-exam.htmlThe other threads in the list belong to deleted posts or to drafts with an older date, are no longer loaded by any page, and are left as they are.
If the links have not changed, the migration did not match and the URLs have to be corrected another way.
Merge pull request #262 from aistomin/Issue-260