summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Bracco <href@random.sh>2022-12-20 21:09:41 +0100
committerJordan Bracco <href@random.sh>2022-12-20 21:09:41 +0100
commit6f5f65cb720e5ed33daaca27c01d433ea236c559 (patch)
treed199532d18f6719ae983a1165f0c09b87bbb7edf
parentCompile fixes, refs T77. (diff)
Move from deprecated Mix.Config to Config
-rw-r--r--config/config.exs7
-rw-r--r--config/dev.exs2
-rw-r--r--config/prod.exs2
-rw-r--r--config/test.exs2
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.