|
|
@ -23,8 +23,13 @@ config :logger, :explorer, |
|
|
|
level: :warn, |
|
|
|
level: :warn, |
|
|
|
path: Path.absname("logs/test/explorer.log") |
|
|
|
path: Path.absname("logs/test/explorer.log") |
|
|
|
|
|
|
|
|
|
|
|
if File.exists?(file = "test.secret.exs") do |
|
|
|
secret_file = |
|
|
|
import_config file |
|
|
|
__ENV__.file |
|
|
|
|
|
|
|
|> Path.dirname() |
|
|
|
|
|
|
|
|> Path.join("test.secret.exs") |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if File.exists?(secret_file) do |
|
|
|
|
|
|
|
import_config secret_file |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
config :explorer, Explorer.ExchangeRates.Source.TransactionAndLog, |
|
|
|
config :explorer, Explorer.ExchangeRates.Source.TransactionAndLog, |
|
|
|