260702_01_ENH: 리스트 작업 도중 공용 ui를 적용하기 위한 중간 커밋
This commit is contained in:
12
src/proxy.ts
Normal file
12
src/proxy.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import {NextFetchEvent, NextRequest} from "next/server";
|
||||
import {catchRedirectPageLanding} from "@/proxy/catchRedirectPageLanding";
|
||||
|
||||
export const config = {
|
||||
matcher: [
|
||||
"/redirect/:path*",
|
||||
],
|
||||
}
|
||||
|
||||
export function proxy(req: NextRequest, event: NextFetchEvent) {
|
||||
return catchRedirectPageLanding(req, event);
|
||||
}
|
||||
Reference in New Issue
Block a user