Browse Source

openai runtime = "experimental-edge";

Shi Liang 1 year ago
parent
commit
8966fd3b23
1 changed files with 1 additions and 3 deletions
  1. 1 3
      app/api/openai/route.ts

+ 1 - 3
app/api/openai/route.ts

@@ -30,6 +30,4 @@ export async function GET(req: NextRequest) {
   return makeRequest(req);
 }
 
-export const config = {
-  runtime: "edge",
-};
+export const runtime = "experimental-edge";