Create URL correctly

This commit is contained in:
Uku Taht 2019-09-09 13:02:16 +01:00
parent 1ee5147ffb
commit b07213c11a

View File

@ -11,7 +11,7 @@ use Mix.Config
# before starting your production server.
config :plausible, PlausibleWeb.Endpoint,
http: [:inet6, port: System.get_env("PORT") || 4000],
url: [host: System.get_env("HOST"), scheme: "https"],
url: [host: System.get_env("HOST"), scheme: "https", port: 443],
cache_static_manifest: "priv/static/cache_manifest.json"
# Do not print debug messages in production