|
@@ -11,12 +11,7 @@ secret_key_base =
|
|
|
You can generate one by calling: mix phx.gen.secret
|
|
You can generate one by calling: mix phx.gen.secret
|
|
|
"""
|
|
"""
|
|
|
|
|
|
|
|
-config :vaccins, VaccinsWeb.Endpoint,
|
|
|
|
|
- http: [
|
|
|
|
|
- port: String.to_integer(System.get_env("PORT") || "4000"),
|
|
|
|
|
- transport_options: [socket_opts: [:inet6]]
|
|
|
|
|
- ],
|
|
|
|
|
- secret_key_base: secret_key_base
|
|
|
|
|
|
|
+config :vaccins, VaccinsWeb.Endpoint, secret_key_base: secret_key_base
|
|
|
|
|
|
|
|
# ## Using releases (Elixir v1.9+)
|
|
# ## Using releases (Elixir v1.9+)
|
|
|
#
|
|
#
|
|
@@ -27,3 +22,4 @@ config :vaccins, VaccinsWeb.Endpoint,
|
|
|
#
|
|
#
|
|
|
# Then you can assemble a release by calling `mix release`.
|
|
# Then you can assemble a release by calling `mix release`.
|
|
|
# See `mix help release` for more information.
|
|
# See `mix help release` for more information.
|
|
|
|
|
+config :vaccins, VaccinsWeb.Endpoint, server: true
|