Skip to content

Commit

Permalink
Add example of process.env runtimeConfig (#4759)
Browse files Browse the repository at this point in the history
  • Loading branch information
albinekb authored and timneutkens committed Jul 11, 2018
1 parent d51245b commit d8be2a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion readme.md
Expand Up @@ -1370,7 +1370,8 @@ module.exports = {
mySecret: 'secret'
},
publicRuntimeConfig: { // Will be available on both server and client
staticFolder: '/static'
staticFolder: '/static',
mySecret: process.env.MY_SECRET // Pass through env variables
}
}
```
Expand Down

0 comments on commit d8be2a0

Please sign in to comment.