fix: proxy.ts export 이름 middleware → proxy
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2
proxy.ts
2
proxy.ts
@@ -33,7 +33,7 @@ async function verifyAdminToken(token: string): Promise<boolean> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function middleware(request: NextRequest) {
|
export async function proxy(request: NextRequest) {
|
||||||
const { pathname } = request.nextUrl;
|
const { pathname } = request.nextUrl;
|
||||||
|
|
||||||
// /admin 경로 보호 (/admin/login 제외)
|
// /admin 경로 보호 (/admin/login 제외)
|
||||||
|
|||||||
Reference in New Issue
Block a user