mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-30 11:19:12 +01:00
* chore: restructure validation package * chore: move zod only to validation package * chore: rename packages from alparr to homarr * chore: move mantine core, dates and icons library to ui package, move most other mantine packages to seperate packages for further customization and centralization * chore: fix formatting * fix: wrong typecheck command in turbo generator * chore: fix formatting * chore: address pull request feedback * chore: fix ci check issues
12 lines
303 B
TypeScript
12 lines
303 B
TypeScript
import type { NextRequest } from "next/server";
|
|
|
|
import { I18nMiddleware } from "@homarr/translation/middleware";
|
|
|
|
export function middleware(request: NextRequest) {
|
|
return I18nMiddleware(request);
|
|
}
|
|
|
|
export const config = {
|
|
matcher: ["/((?!api|static|.*\\..*|_next|favicon.ico|robots.txt).*)"],
|
|
};
|