fetch relay pin from env

This commit is contained in:
Pim Kunis 2019-07-24 22:33:14 +02:00
parent 74bb465a38
commit ef38b81dd6
3 changed files with 10 additions and 3 deletions

View file

@ -22,6 +22,8 @@ config :logger, :console,
# Use Jason for JSON parsing in Phoenix
config :phoenix, :json_library, Jason
config :morse, :relay_pin, 17
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{Mix.env()}.exs"