set hostname correctly

This commit is contained in:
byte[] 2019-11-14 22:09:43 -05:00
parent cae93b2f36
commit 60b407dbd1

View file

@ -50,6 +50,7 @@ secret_key_base =
config :philomena, PhilomenaWeb.Endpoint, config :philomena, PhilomenaWeb.Endpoint,
http: [:inet6, port: String.to_integer(System.get_env("PORT") || "4000")], http: [:inet6, port: String.to_integer(System.get_env("PORT") || "4000")],
url: [host: System.get_env("APP_HOSTNAME"), scheme: "https"],
secret_key_base: secret_key_base, secret_key_base: secret_key_base,
server: true server: true