040e1df685
- Major UI updates across dashboard, analytics, posts, trades, settings - New landing page, robots/sitemap, contact/privacy/terms pages - Updated globals.css with extensive styling and new landing.css - Refactor signedRequest, realtime data hook, and dashboard store Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
15 lines
396 B
TypeScript
15 lines
396 B
TypeScript
import createMiddleware from 'next-intl/middleware'
|
|
import { locales, defaultLocale } from './i18n'
|
|
|
|
export default createMiddleware({
|
|
locales,
|
|
defaultLocale,
|
|
localePrefix: 'always',
|
|
})
|
|
|
|
export const config = {
|
|
// Only match locale-prefixed routes. `/` is served by `app/page.tsx`
|
|
// (the landing page) and must not be intercepted by the i18n middleware.
|
|
matcher: ['/(en)/:path*'],
|
|
}
|