frontend
devops
Enable changelog subdomain routing on localhost for local testing
- Local changelogs now work at [slug].localhost:PORT — You can now open changelogs in development using a subdomain-style URL (for example, http://my-project.localhost:4715). Next.js middleware rewrites those requests to the changelog route for local testing, matching production behavior. Modern browsers resolve *.localhost to 127.0.0.1 natively, so no /etc/hosts changes are required.
Improvements
- Updated middleware and URL builder so development uses the same subdomain pattern as production; local changelog URLs now use http://[slug].localhost:PORT instead of the old /changelog/[slug] path.frontend
Documentation
- Updated .env.development comment to document subdomain routing on localhost and note that modern browsers resolve *.localhost to 127.0.0.1 so no hosts-file edits are needed.devops