You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's unclear from the documentation that environment variables must be prefixed with REACT_APP_ for this package to work. I feel this behavior is not desirable in cases where an environment variable should configured on both the frontend and the backend, such as an OAuth client ID. One benefit of only setting variables with that prefix is it avoids the unintentional leaking environment variables, but I think that can be circumvented by defining variables to be distributed in env.js explicitly. Either way, the current prefix requirement should be documented. Happy to submit a PR once its clear that the repo is being maintained.
The text was updated successfully, but these errors were encountered:
It's unclear from the documentation that environment variables must be prefixed with
REACT_APP_
for this package to work. I feel this behavior is not desirable in cases where an environment variable should configured on both the frontend and the backend, such as an OAuth client ID. One benefit of only setting variables with that prefix is it avoids the unintentional leaking environment variables, but I think that can be circumvented by defining variables to be distributed inenv.js
explicitly. Either way, the current prefix requirement should be documented. Happy to submit a PR once its clear that the repo is being maintained.The text was updated successfully, but these errors were encountered: