Closed kevinfaveri closed 1 year ago
Does not seem possible to call my database inside the handle/route function of a vercel OG endpoint, because it seems to run on a browser like environment. Is there any workaround or plans for this?
You can't use db sdks but you can use fetch with the Edge Runtime.
fetch
See https://nextjs.org/docs/api-reference/edge-runtime
Does not seem possible to call my database inside the handle/route function of a vercel OG endpoint, because it seems to run on a browser like environment. Is there any workaround or plans for this?