atinotes icon indicating copy to clipboard operation
atinotes copied to clipboard

[Question] Why use `process.env` over `useRuntimeConfig`?

Open onmax opened this issue 10 months ago • 1 comments

Hello, I am using your repo as a reference for one of my projects.

Is there a reason why you are using process.env over useRuntimeConfig in https://github.com/atinux/atinotes/blob/main/server/api/login.post.ts?

Just curious to know if there is something I am missing :)

Thanks.

onmax avatar Jan 25 '25 09:01 onmax

Because at the moment, it is less buggy when running within CF workers!

atinux avatar Feb 05 '25 08:02 atinux