"Secrets" (System environment variables) not working.
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
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?
did you try doing this in the shell?
cuz ur doing it wrong, it only shows up in the repl env. The shell just runs commands, it actually can't interact with the repl
the only way to access it is in the code
Did you click save? if you did then it is probably a bug and you should report it. if you did not, then do it again but click save