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
@adambedford Yes, you can access them in the environment.js. Every ENV variable is accessible in your environment.js.
Ex. You can access your RAILS env variables using the process env.
module.exports=function(environment){
...
// could be any of the env variables you set in your rails app // when running inside the Rails process.varENV={randomEnvVariable: process.env.RAILS_ENV...}...returnENV;};
Is it possible to access environment variables somehow within the Ember app, particularly environment.js?
The text was updated successfully, but these errors were encountered: