260813_01_FST: First Commit
This commit is contained in:
10
src/proxy.ts
Normal file
10
src/proxy.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { NextRequest, NextResponse } from "next/server";
|
||||
|
||||
export const config = {
|
||||
matcher: ["/example/:path*"],
|
||||
};
|
||||
|
||||
export function proxy(_request: NextRequest) {
|
||||
// 인증, Header 추가, Redirect 같은 공통 처리를 구현할 수 있습니다.
|
||||
return NextResponse.next();
|
||||
}
|
||||
Reference in New Issue
Block a user