From 6f5f65cb720e5ed33daaca27c01d433ea236c559 Mon Sep 17 00:00:00 2001 From: Jordan Bracco Date: Tue, 20 Dec 2022 21:09:41 +0100 Subject: Move from deprecated Mix.Config to Config --- config/config.exs | 7 +------ config/dev.exs | 2 +- config/prod.exs | 2 +- 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. -- cgit v1.2.3