Merge pull request #968 from shih-liang/patch-2

修复 Edge Runtime 设置失效问题
This commit is contained in:
Yifei Zhang 2023-04-21 14:55:01 +08:00 committed by GitHub
commit 0b36daf6ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 6 deletions

View File

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

View File

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