diff options
author | Mark Felder <feld@feld.me> | 2021-05-20 13:55:37 -0500 |
---|---|---|
committer | Mark Felder <feld@feld.me> | 2021-05-20 14:02:58 -0500 |
commit | fe40f6f2910967609f7aa952d69981cadc47372c (patch) | |
tree | 5402ca123349966c3b17a50392c421c8c41e7874 /config | |
parent | 8e9f032f25251d910b59c55226d10a305bad3cba (diff) | |
download | pleroma-fe40f6f2910967609f7aa952d69981cadc47372c.tar.gz |
Switch from the deprecated "use Mix.config" to "import Config"
Diffstat (limited to 'config')
-rw-r--r-- | config/benchmark.exs | 2 | ||||
-rw-r--r-- | config/config.exs | 2 | ||||
-rw-r--r-- | config/description.exs | 2 | ||||
-rw-r--r-- | config/dev.exs | 2 | ||||
-rw-r--r-- | config/dokku.exs | 2 | ||||
-rw-r--r-- | config/prod.exs | 2 | ||||
-rw-r--r-- | config/test.exs | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/config/benchmark.exs b/config/benchmark.exs index 5567ff26e..a4d048f1b 100644 --- a/config/benchmark.exs +++ b/config/benchmark.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. diff --git a/config/config.exs b/config/config.exs index 4381068ac..d333c618e 100644 --- a/config/config.exs +++ b/config/config.exs @@ -41,7 +41,7 @@ # # This configuration file is loaded before any dependency and # is restricted to this project. -use Mix.Config +import Config # General application configuration config :pleroma, ecto_repos: [Pleroma.Repo] diff --git a/config/description.exs b/config/description.exs index bb1f43305..f00c53d28 100644 --- a/config/description.exs +++ b/config/description.exs @@ -1,4 +1,4 @@ -use Mix.Config +import Config websocket_config = [ path: "/websocket", diff --git a/config/dev.exs b/config/dev.exs index 4faaeff5b..cfe3cce47 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/dokku.exs b/config/dokku.exs index 9ea0ec450..1cc396c3d 100644 --- a/config/dokku.exs +++ b/config/dokku.exs @@ -1,4 +1,4 @@ -use Mix.Config +import Config config :pleroma, Pleroma.Web.Endpoint, http: [ diff --git a/config/prod.exs b/config/prod.exs index 0e151000b..968f596e0 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -1,4 +1,4 @@ -use Mix.Config +import Config # For production, we often load configuration from external # sources, such as your system environment. For this reason, diff --git a/config/test.exs b/config/test.exs index 87396a88d..c531b1290 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. |