how to integrate function in Next.js ssg app folder project

Hello ,i have write in api/route.js but the result will prefetched
get same result using export const runtime = "edge";
can we have next.js without ssr but with dynamic api?
Was this page helpful?