Hologram (hologram v0.9.1)

Copy Markdown View Source

Summary

Functions

Returns the current environment.

Returns the secret key base.

Functions

env()

@spec env() :: atom()

Returns the current environment.

secret_key_base()

@spec secret_key_base() :: String.t()

Returns the secret key base.

Uses the SECRET_KEY_BASE env var when set. In :dev/:test, falls back to the Phoenix endpoint's configured :secret_key_base. In all other environments the env var is required.