Ready for 1.1.3-rc.2

This commit is contained in:
charlesgauthereau
2025-11-03 11:37:54 +01:00
parent 9c1aa66b41
commit c62be9854a
+2 -3
View File
@@ -5,7 +5,7 @@ import { auth } from "@/lib/auth/auth";
import { headers } from "next/headers"; import { headers } from "next/headers";
import { signOut } from "@/lib/auth/auth-client"; import { signOut } from "@/lib/auth/auth-client";
export async function middleware(request: NextRequest) { export async function proxy(request: NextRequest) {
const url = request.nextUrl.clone(); const url = request.nextUrl.clone();
const redirectUrl = encodeURIComponent(request.nextUrl.pathname) const redirectUrl = encodeURIComponent(request.nextUrl.pathname)
@@ -69,10 +69,9 @@ function checkRouteExists(pathname: string) {
} }
export const config = { export const config = {
runtime: "nodejs",
matcher: [ matcher: [
"/api/:path*", "/api/:path*",
"/dashboard/:path*", "/dashboard/:path*",
"/dashboard", "/dashboard",
], ]
}; };