Explorar o código

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

butterfly hai 1 ano
pai
achega
5446d8d4a2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();
 const serverConfig = getServerSideConfig();
 
 
-export async function request(req: NextRequest) {
+async function request(req: NextRequest) {
   const controller = new AbortController();
   const controller = new AbortController();
 
 
   let authHeaderName = "x-api-key";
   let authHeaderName = "x-api-key";