unable to access .dev.vars
Hey everyone, I'm new to working with cloudflare workers and facing an issue. When i define my secrets inside .dev.vars file and trying to access it inside my handler function it says "hidden". Can anyone help?
3 Replies
Is that in the logs on startup, or if you try to console.log them manually?
Both in logs and console when i try to console.log it.
Finally figured it out.
still it shows hidden in the startup logs but don't know may be that's how it's supposed to work.
But console.logging them works. 😌
Yeah, it’s supposed to be hidden in the startup logs, since it is a “secret”