Packages

Project repository template to set up all public Phoenix projects at Nimble

Current section

Files

Jump to
nimble_phx_gen_template priv templates nimble.phx.gen.template config runtime.exs.eex
Raw

priv/templates/nimble.phx.gen.template/config/runtime.exs.eex

# In this file, we load production configuration and secrets
# from environment variables. You can also hardcode secrets,
# although such is generally not recommended and you have to
# remember to add this file to your .gitignore.
import Config
if config_env() == :prod do
<%= prod_secret_content %>
end