My .env.client includes the secret REACT_APP_API_HOST, and when I log it in the client locally as console.log(import.meta.env.REACT_APP_API_HOST), it returns the right value. I deployed the app to Fly.io and also set the client secret REACT_APP_API_HOST, but when I console.log it, it returns undefined. WHy does Fly.io not read the secret, even though it's been set?
Continue the conversation
Join the Discord to ask follow-up questions and connect with the community
W
Wasp
Rails-like framework for React, Node.js and Prisma. Build your app in a day and deploy it with a single CLI command.