Pārlūkot izejas kodu

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

butterfly 1 gadu atpakaļ
vecāks
revīzija
5446d8d4a2
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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";