inshallah last

This commit is contained in:
Ali Taghavi
2026-05-19 15:35:04 +03:30
parent a8260cfb73
commit 62ba2124ea
5 changed files with 58 additions and 9 deletions

View File

@@ -4,5 +4,6 @@ import { routing } from "./lib/i18n/routing";
export default createMiddleware(routing);
export const config = {
matcher: ["/((?!_next|_vercel|studio|api|.*\\..*).*)"],
// Exclude admin panel and APIs — they live outside [locale] routes
matcher: ["/((?!_next|_vercel|studio|api|admin|.*\\..*).*)"],
};