1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00

Switch to Config module

This commit is contained in:
Daniel Barber 2023-01-30 12:19:22 -06:00
parent d6ca73e4bd
commit 27f5fc6730
4 changed files with 5 additions and 5 deletions

View File

@ -3,7 +3,7 @@
#
# This configuration file is loaded before any dependency and
# is restricted to this project.
use Mix.Config
import Config
config :phoenix, :json_library, Jason
@ -52,4 +52,4 @@ config :dart_sass,
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{Mix.env()}.exs"
import_config "#{config_env()}.exs"

View File

@ -1,4 +1,4 @@
use Mix.Config
import Config
# For development, we disable any cache and enable
# debugging and code reloading.

View File

@ -1,4 +1,4 @@
use Mix.Config
import Config
config :chess, ChessWeb.Endpoint,
cache_static_manifest: "priv/static/cache_manifest.json",

View File

@ -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.