mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-03 12:52:39 +02:00
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:
parent
17ef72d93e
commit
ad41967d28
10 changed files with 1285 additions and 321 deletions
11
surfsense_web/proxy.ts
Normal file
11
surfsense_web/proxy.ts
Normal 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();
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue