refactor: migrated to next 16, updated fumadocs

- Deleted the empty middleware file as it was temporarily disabled for client-side i18n implementation.
- Updated `next`, `next-intl`, and `fumadocs` packages to their latest versions.
- Cleaned up the `next.config.ts` by removing the eslint configuration.
- Enhanced `tsconfig.json` with additional paths for `fumadocs-mdx`.
- Adjusted imports in `layout.tsx` and `request.ts` for better structure and functionality.
This commit is contained in:
DESKTOP-RTLN3BA\$punk 2025-12-20 04:24:40 -08:00
parent 17ef72d93e
commit ad41967d28
10 changed files with 1285 additions and 321 deletions

11
surfsense_web/proxy.ts Normal file
View file

@ -0,0 +1,11 @@
// Proxy temporarily disabled for client-side i18n implementation
// Server-side i18n routing would require restructuring entire app directory to app/[locale]/...
// which is too invasive for this project
import type { NextRequest } from "next/server";
import { NextResponse } from "next/server";
// Empty proxy - just pass through all requests
export function proxy(request: NextRequest) {
return NextResponse.next();
}