feat: Enable Edge Runtime for the proxy route to improve geographic distribution.

This commit is contained in:
kuekhaoyang
2025-11-23 18:23:42 +08:00
parent 3d73668b39
commit 933b0bf233
+3
View File
@@ -1,5 +1,8 @@
import { NextRequest, NextResponse } from 'next/server';
// Use Edge Runtime for better geographic distribution
export const runtime = 'edge';
export async function GET(request: NextRequest) {
const url = request.nextUrl.searchParams.get('url');