first commit

This commit is contained in:
Jelaletdin12
2025-11-10 10:07:48 +05:00
commit fdec9e4b0e
131 changed files with 16660 additions and 0 deletions

19
middleware.ts Normal file
View File

@@ -0,0 +1,19 @@
import createMiddleware from "next-intl/middleware"
import { locales, defaultLocale } from "./i18n"
const middleware = createMiddleware({
locales,
defaultLocale,
localePrefix: "always",
})
export default middleware
export const config = {
matcher: [
// Match all pathnames except for
// - … if they start with `/api`, `/_next` or `/_vercel`
// - … the ones containing a dot (e.g. `favicon.ico`)
"/((?!api|_next|_vercel|.*\\..*).*)",
],
}