Packages

Finnhub API (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

Current section

Files

Jump to
finnhub_api config runtime.exs
Raw

config/runtime.exs

import Config
# config/runtime.exs is executed for all environments, including
# during releases. It is executed after compilation and before the
# system starts, so it is typically used to load production configuration
# and secrets from environment variables or elsewhere. Do not define
# any compile-time configuration in here, as it won't be applied.
# The block below contains prod specific runtime configuration.
if base_url = System.get_env("FINNHUB_API_BASE_URI") do
config :finnhub_api, base_url: base_url
end