logo hsb.horse
← Back to changelog

Release note

Fixed blog routing issue and added troubleshooting memo

Resolved a /blog 404 in bun dev and documented the root-cause analysis process in a new blog post.

Changes

  • Fixed a /blog 404 that occurred during bun dev
  • Moved blog content source from blog/ to content/blog/
  • Updated the blog collection loader base in src/content.config.ts to ./content/blog
  • Added a new post astro-dev-blog-404-directory-collision with the full investigation and fix process

Notes

  • Root cause was a collision between URL segment /blog and a project-root directory named blog/
  • With prefixDefaultLocale: false, the correct default-locale URL is /blog (/ja/blog is out of scope)