-
|
Hi all! 👋 I've been streaming on RedwoodJS and was excited to see I could deploy to Vercel. NextJS allows using environment variables at runtime by prepending NEXT_BUILD_ on the variable. Are we able to add something similar to the Redwood runtime? I've tried digging through the PRs but I don't really know where to look. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
|
I think you're looking for https://redwoodjs.com/docs/environment-variables#web Vercel doesn't do anything special here so you'll want to use the redwood docs for further information. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks Steven, It ended up being something undocumented in Redwood. It's
requiring the REDWOOD_ENV_ and the other variable. Worked out a solution
with David Price on the Redwood Team. Thank you!
…On Mon, Aug 17, 2020 at 1:52 PM Steven ***@***.***> wrote:
I think you're looking for REDWOOD_ENV_ prefix as seen on the redwood
docs:
https://redwoodjs.com/docs/environment-variables#web
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5045 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGG2RLHPXOO6WNNF6GPFMLSBFU5FANCNFSM4QAPPE3A>
.
|
Beta Was this translation helpful? Give feedback.
I think you're looking for
REDWOOD_ENV_prefix as seen on the redwood docs:https://redwoodjs.com/docs/environment-variables#web
Vercel doesn't do anything special here so you'll want to use the redwood docs for further information.