squash
This commit is contained in:
parent
7aa0059c96
commit
1b7bb7859d
1 changed files with 8 additions and 1 deletions
|
@ -9,8 +9,15 @@ use Mix.Config
|
||||||
# manifest is generated by the `mix phx.digest` task,
|
# manifest is generated by the `mix phx.digest` task,
|
||||||
# which you should run after static files are built and
|
# which you should run after static files are built and
|
||||||
# before starting your production server.
|
# before starting your production server.
|
||||||
|
|
||||||
|
host =
|
||||||
|
System.get_env("HOSTNAME") ||
|
||||||
|
raise """
|
||||||
|
environment variable HOSTNAME is missing.
|
||||||
|
"""
|
||||||
|
|
||||||
config :planner, PlannerWeb.Endpoint,
|
config :planner, PlannerWeb.Endpoint,
|
||||||
url: [host: "planner.thermokar.st", port: 5000],
|
url: [host: host, port: 5000],
|
||||||
cache_static_manifest: "priv/static/cache_manifest.json"
|
cache_static_manifest: "priv/static/cache_manifest.json"
|
||||||
|
|
||||||
# Do not print debug messages in production
|
# Do not print debug messages in production
|
||||||
|
|
Loading…
Add table
Reference in a new issue