Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by wouldbecouldbe

20 hours ago

I mean the admin account had visibility of clients env vars, thats maybe not really great in the first place.

2 comments

wouldbecouldbe

Reply

iririririr  19 hours ago

you'd think. but this is a js dev world.

nextjs app bake all env vars on the client side code!! it's all public, unless you prefix the name with private_ or something.

  • rozenmd  18 hours ago

    This is incorrect.

    You preface with PUBLIC_ to expose them in client side code.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities