mirror of
https://github.com/hanzo-docs/docs.git
synced 2026-10-25 04:20:02 +00:00
- Rename all packages from fumadocs-* to @hanzo/docs-* - Update all imports across apps, examples, and packages - Update documentation and content references - Sync lockfile with new package names
11 lines
365 B
TypeScript
11 lines
365 B
TypeScript
import { createI18nMiddleware } from '@hanzo/docs/core/i18n/middleware';
|
|
import { i18n } from '@/lib/i18n';
|
|
|
|
export default createI18nMiddleware(i18n);
|
|
|
|
export const config = {
|
|
// Matcher ignoring `/_next/` and `/api/`
|
|
// You may need to adjust it to ignore static assets in `/public` folder
|
|
matcher: ['/((?!api|_next/static|_next/image|favicon.ico).*)'],
|
|
};
|