Compare commits

...

3 Commits

Author SHA1 Message Date
Unchained ad20ffe588 Merge branch 'dev'
Build and Deploy / build (push) Has been cancelled
2026-04-01 05:17:48 +02:00
Unchained 13301dca12 fix: use middleware.ts instead of proxy.ts for build compatibility 2026-04-01 05:17:36 +02:00
Unchained e57169a807 fix: revert proxy back to middleware for Next.js build compatibility 2026-04-01 05:15:42 +02:00
+1 -1
View File
@@ -1,7 +1,7 @@
import { NextResponse } from "next/server"; import { NextResponse } from "next/server";
import type { NextRequest } from "next/server"; import type { NextRequest } from "next/server";
export function proxy(request: NextRequest) { export function middleware(request: NextRequest) {
const response = NextResponse.next(); const response = NextResponse.next();
const url = request.nextUrl.pathname; const url = request.nextUrl.pathname;