"Secrets" (System environment variables) not working.
KennyJacobson1

I'm using replit's "Secrets" functionality to add an env variable.

But when I try to reference it in my React project, it comes up as undefined.

I try to see if it's even there using a simple printenv, but it's not there.

I tried to restart the machine using busybox reboot and check it. Still nothing.

What am I doing wrong?

You are viewing a single comment. View All
zkindest

@KennyJacobson1 I am facing the same,issue resolved?