mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 05:37:59 +01:00
Address elixir deprecations
This commit is contained in:
parent
55eac3c638
commit
94f6803cd1
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ import Config
|
|||
config :philomena, PhilomenaWeb.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json"
|
||||
|
||||
# Do not print debug messages in production
|
||||
config :logger, level: :warn
|
||||
config :logger, level: :warning
|
||||
|
||||
# ## SSL Support
|
||||
#
|
||||
|
|
|
@ -130,7 +130,7 @@ if config_env() == :prod do
|
|||
{:ok, ip} = :inet.parse_address(System.get_env("APP_IP", "127.0.0.1") |> String.to_charlist())
|
||||
|
||||
config :philomena, PhilomenaWeb.Endpoint,
|
||||
http: [ip: ip, port: {:system, "PORT"}],
|
||||
http: [ip: ip, port: System.fetch_env!("PORT")],
|
||||
url: [host: System.fetch_env!("APP_HOSTNAME"), scheme: "https", port: 443],
|
||||
secret_key_base: System.fetch_env!("SECRET_KEY_BASE"),
|
||||
server: not is_nil(System.get_env("START_ENDPOINT"))
|
||||
|
|
Loading…
Reference in a new issue