Skip to content

Commit 2da28a0

Browse files
committed
chore: migrate middleware.ts to proxy.ts
1 parent d156f40 commit 2da28a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

middleware.ts renamed to proxy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { type NextRequest, NextResponse } from "next/server";
22

33
const IS_DEV = process.env.NODE_ENV === "development";
44

5-
export function middleware(request: NextRequest) {
5+
export function proxy(request: NextRequest) {
66
const nonce = Buffer.from(crypto.randomUUID()).toString("base64");
77

88
// TODO: unsafe-inline is needed for NextUI?

0 commit comments

Comments
 (0)