Files
pp-tcms/frontend/src/middleware.ts
LittleYellow 55e78875ae
Some checks failed
UnitTCMS CI / unittcms-test (push) Has been cancelled
feat: support JSON import for test cases and add Traditional Chinese locale
JSON import lets users round-trip cases exported via the JSON download
endpoint back into a folder, alongside the existing Excel import path.
2026-06-16 21:35:05 +08:00

9 lines
224 B
TypeScript

import createMiddleware from 'next-intl/middleware';
import { routing } from './i18n/routing';
export default createMiddleware(routing);
export const config = {
matcher: ['/', '/(de|en|pt-BR|zh-CN|zh-TW|ja)/:path*'],
};