diff --git a/config/config.exs b/config/config.exs index 641754a..191e405 100644 --- a/config/config.exs +++ b/config/config.exs @@ -2,3 +2,7 @@ import Config config :nostrum, youtubedl: "/usr/bin/yt-dlp" + +# Import environment specific config. This must remain at the bottom +# of this file so it overrides the configuration defined above. +import_config "#{config_env()}.exs" diff --git a/config/dev.exs b/config/dev.exs new file mode 100644 index 0000000..e69de29 diff --git a/config/prod.exs b/config/prod.exs new file mode 100644 index 0000000..3e65563 --- /dev/null +++ b/config/prod.exs @@ -0,0 +1,4 @@ +import Config + +# Do not print debug messages in production +config :logger, level: :info diff --git a/config/test.exs b/config/test.exs new file mode 100644 index 0000000..e69de29