open-pod/config/releases.exs
2020-06-08 21:01:05 +00:00

10 lines
404 B
Elixir

import Config
secret_key_base = System.fetch_env!("SECRET_KEY_BASE")
application_port = System.fetch_env!("APP_PORT")
application_host = System.fetch_env!("APP_HOST")
config :podcast_feed, PodcastFeedWeb.Endpoint,
url: [scheme: "http", host: application_host, port: String.to_integer(application_port)],
http: [:inet6, port: String.to_integer(application_port)],
secret_key_base: secret_key_base