<@1068666142610161725> If you use the latest `beta` release you can just use `process.env.DB` both i
@bun If you use the latest
ideally devs should always use
(PS: if you do have a reproduction that you can share please throw it my way!
)
beta release you can just use process.env.DB both in development and production (process.env not working in development was a bug I've fixed here: https://github.com/cloudflare/next-on-pages/pull/690)ideally devs should always use
getRequestContext() and not process.env, but it seems like getRequestContext() has some bug that makes it not work in some cases, I'll definitely look into that the only thing is that I haven't gotten a minimal reproduction to play with that till now (I did briefly tried to reproduce it with no luck, I should also try that again if I can't get a minimal repro)(PS: if you do have a reproduction that you can share please throw it my way!




