Skip to content

Commit

Permalink
move import config to the bottom of the file as needed for overriding…
Browse files Browse the repository at this point in the history
… definitions #17
  • Loading branch information
RobStallion committed Dec 2, 2018
1 parent 213f8b3 commit 29b1c66
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ config :logger, :console,
metadata: [:request_id]

config :phoenix, :json_library, Jason
# Import environment specific config. This must remain at the bottom
# of this file so it over rides the configuration defined above.
import_config "#{Mix.env}.exs"

# run shell command to "source .env" to load the environment variables.
try do # wrap in "try do"
Expand All @@ -51,3 +48,7 @@ config :encryption, Encryption.AES,

config :argon2_elixir,
argon2_type: 2

# Import environment specific config. This must remain at the bottom
# of this file so it over rides the configuration defined above.
import_config "#{Mix.env}.exs"

0 comments on commit 29b1c66

Please sign in to comment.