fix: edge config

This commit is contained in:
Henry
2024-04-24 22:17:02 +01:00
parent 850b0fa876
commit dfbe81f49c

View File

@@ -22,6 +22,7 @@ export default async function handler(req: NextRequest) {
}); });
} }
export const runtime = "edge"; export const config = {
export const preferredRegion = "lhr1"; runtime: "edge",
export const dynamic = "force-dynamic"; regions: ["lhr1"],
};