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:
parent
d6ca73e4bd
commit
27f5fc6730
@ -3,7 +3,7 @@
|
|||||||
#
|
#
|
||||||
# This configuration file is loaded before any dependency and
|
# This configuration file is loaded before any dependency and
|
||||||
# is restricted to this project.
|
# is restricted to this project.
|
||||||
use Mix.Config
|
import Config
|
||||||
|
|
||||||
config :phoenix, :json_library, Jason
|
config :phoenix, :json_library, Jason
|
||||||
|
|
||||||
@ -52,4 +52,4 @@ config :dart_sass,
|
|||||||
|
|
||||||
# Import environment specific config. This must remain at the bottom
|
# Import environment specific config. This must remain at the bottom
|
||||||
# of this file so it overrides the configuration defined above.
|
# of this file so it overrides the configuration defined above.
|
||||||
import_config "#{Mix.env()}.exs"
|
import_config "#{config_env()}.exs"
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
use Mix.Config
|
import Config
|
||||||
|
|
||||||
# For development, we disable any cache and enable
|
# For development, we disable any cache and enable
|
||||||
# debugging and code reloading.
|
# debugging and code reloading.
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
use Mix.Config
|
import Config
|
||||||
|
|
||||||
config :chess, ChessWeb.Endpoint,
|
config :chess, ChessWeb.Endpoint,
|
||||||
cache_static_manifest: "priv/static/cache_manifest.json",
|
cache_static_manifest: "priv/static/cache_manifest.json",
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
use Mix.Config
|
import Config
|
||||||
|
|
||||||
# We don't run a server during test. If one is required,
|
# We don't run a server during test. If one is required,
|
||||||
# you can enable the server option below.
|
# you can enable the server option below.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user