Next.js Discord

Discord Forum

Entry point for nextjs app

Unanswered
Swedish Elkhound posted this in #help-forum
Open in Discord
Swedish ElkhoundOP
I have an script which adds env vars from the gcp secrets vault right now i have added it where prisma client is initialised to make it work !

Is there any other better alternatives ? I tried adding it in instrumentation.ts file but it didnt worked, when accessing the env the process object was empty!

0 Replies