mirror of
https://github.com/Dokploy/website
synced 2025-06-26 18:16:01 +00:00
feat: add monorepo
This commit is contained in:
14
apps/docs/middleware.ts
Normal file
14
apps/docs/middleware.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { createI18nMiddleware } from "fumadocs-core/middleware";
|
||||
import { defaultLanguage, languages } from "./i18n";
|
||||
|
||||
export default createI18nMiddleware({
|
||||
languages,
|
||||
defaultLanguage,
|
||||
});
|
||||
|
||||
export const config = {
|
||||
// Matcher ignoring `/_next/` and `/api/`
|
||||
matcher: [
|
||||
"/((?!api|_next/static|_next/image|assets|favicon.ico|logo.png|robots.txt|sitemap.xml|icon.svg|sw.js).*)",
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user