For projects generated with Mix
, you can specify configuration variables in config/config.exs
In your code, you can retrieve this value like so:
If you have environment specific config files, use Mix.env
:
Additional reading:
For projects generated with Mix
, you can specify configuration variables in config/config.exs
In your code, you can retrieve this value like so:
If you have environment specific config files, use Mix.env
:
Additional reading: