Next.js Discord

Discord Forum

API give error 500 when using runtime edge

Unanswered
West African Lion posted this in #help-forum
Open in Discord
West African LionOP
So I'm creating payment gateway using lemonsqueezy and Next js
Also Hosting the website on Cloudflare, so I have to add runtime = "edge" so When I add runtime edge it gives 500 error and without that it works fine.

export const dynamic = "force-dyanmic";
export const runtime = "edge";

0 Replies