소스 검색

feat: fix illegal exports in app/api/anthropic/[...path]/route.ts

butterfly 1 년 전
부모
커밋
5446d8d4a2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/api/anthropic/[...path]/route.ts

+ 1 - 1
app/api/anthropic/[...path]/route.ts

@@ -80,7 +80,7 @@ export const preferredRegion = [
 
 const serverConfig = getServerSideConfig();
 
-export async function request(req: NextRequest) {
+async function request(req: NextRequest) {
   const controller = new AbortController();
 
   let authHeaderName = "x-api-key";