How to enable Next.js API routing on cloudflare

Hi

I have issue(common in Next.js). Next.js disable the API routing on production when using next export.

How to enable the APIs (including external APIs) on Cloudflare?

I am struggling to resolve this issue.

Hope the good solution for me

Thank you