mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-26 09:16:22 +02:00
- 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.
11 lines
424 B
TypeScript
11 lines
424 B
TypeScript
// 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();
|
|
}
|