Files
trumpsignal-frontend/middleware.ts
T
k 040e1df685 feat: revamp dashboard, trades, and add landing/legal pages
- 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>
2026-04-25 16:04:57 +08:00

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*'],
}