Merge pull request #859 from Yidadaa/Yidadaa-patch-1

fix: #853 fetch duplex errors
This commit is contained in:
Yifei Zhang 2023-04-17 11:41:47 +08:00 committed by GitHub
commit e49acda806
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@ async function makeRequest(req: NextRequest) {
}, },
{ {
status: 500, status: 500,
}, }
); );
} }
} }
@ -29,3 +29,7 @@ export async function POST(req: NextRequest) {
export async function GET(req: NextRequest) { export async function GET(req: NextRequest) {
return makeRequest(req); return makeRequest(req);
} }
export const config = {
runtime: "edge",
};