diff options
author | Jordan Bracco <href@random.sh> | 2022-12-20 21:09:41 +0100 |
---|---|---|
committer | Jordan Bracco <href@random.sh> | 2022-12-20 21:09:41 +0100 |
commit | 6f5f65cb720e5ed33daaca27c01d433ea236c559 (patch) | |
tree | d199532d18f6719ae983a1165f0c09b87bbb7edf | |
parent | Compile fixes, refs T77. (diff) |
Move from deprecated Mix.Config to Config
-rw-r--r-- | config/config.exs | 7 | ||||
-rw-r--r-- | config/dev.exs | 2 | ||||
-rw-r--r-- | config/prod.exs | 2 | ||||
-rw-r--r-- | config/test.exs | 2 |
4 files changed, 4 insertions, 9 deletions
diff --git a/config/config.exs b/config/config.exs index 5b909f1..ff936c0 100644 --- a/config/config.exs +++ b/config/config.exs @@ -1,9 +1,4 @@ -# This file is responsible for configuring your application -# and its dependencies with the aid of the Mix.Config module. -# -# This configuration file is loaded before any dependency and -# is restricted to this project. -use Mix.Config +import Config config :logger, level: :debug config :logger, :console, diff --git a/config/dev.exs b/config/dev.exs index a2b97f8..946e381 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -1,4 +1,4 @@ -use Mix.Config +import Config # For development, we disable any cache and enable # debugging and code reloading. diff --git a/config/prod.exs b/config/prod.exs index 2acf04f..4243a83 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -1,4 +1,4 @@ -use Mix.Config +import Config config :nola, NolaWeb.Endpoint, http: [ip: {0,0,0,0}, port: 4000] diff --git a/config/test.exs b/config/test.exs index 618cbd5..6048459 100644 --- a/config/test.exs +++ b/config/test.exs @@ -1,4 +1,4 @@ -use Mix.Config +import Config # We don't run a server during test. If one is required, # you can enable the server option below. |