Redirect /changelog to /docs/changelog (307)

Merged
LA
7mo ago
+8-0

Summary

  • Add a 307 (temporary) redirect in web/proxy.ts so /changelog and /<locale>/changelog (with or without trailing slash) land on /docs/changelog.
  • Locale prefix is preserved when present, so non-default locales keep their language.

Testing

  • Local middleware regex match check (manual): /changelog, /changelog/, /ja/changelog, /pt-BR/changelog/ all match; /changelog/foo, /changelogs, /docs/changelog do not.
  • Vercel preview will exercise the real redirect end-to-end.

Related

  • Task: keep cmux.com/changelog working as a shortcut to the docs changelog page

Summary by cubic

Add a temporary 307 redirect so /changelog and /<locale>/changelog (with or without trailing slash) go to /docs/changelog, preserving the locale when present. This keeps cmux.com/changelog working as a docs shortcut without a permanent rewrite.

Summary by CodeRabbit

  • Chores
    • Improved changelog URL routing to automatically direct users to their localized documentation version. Accessing the changelog now preserves your language preference throughout the navigation.