Skip to content

Commit

Permalink
use Config instead of Mix.Config module
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonLab committed Mar 9, 2022
1 parent 786525b commit 1fca726
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# is restricted to this project.

# General application configuration
use Mix.Config
import Config

config :auth,
ecto_repos: [Auth.Repo]
Expand Down Expand Up @@ -44,4 +44,4 @@ config :esbuild,
]

config :auth_plug,
api_key: System.get_env("AUTH_API_KEY")
api_key: System.get_env("AUTH_API_KEY")
2 changes: 1 addition & 1 deletion config/dev.exs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use Mix.Config
import Config

# Configure your database
config :auth, Auth.Repo,
Expand Down
2 changes: 1 addition & 1 deletion config/test.exs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use Mix.Config
import Config

# Configure your database
config :auth, Auth.Repo,
Expand Down

0 comments on commit 1fca726

Please sign in to comment.