import Config
# Note we also include the path to a cache manifest
# containing the digested version of static files. This
# manifest is generated by the `mix assets.deploy` task,
# which you should run after static files are built and
# before starting your production server.
config :xmplry, XmplryWeb.Endpoint, cache_static_manifest: "priv/static/cache_manifest.json"
# Filter sensitive data from logs
config :phoenix, :filter_parameters, ["password", "secret", "token"]
# Configures Swoosh API Client
config :swoosh, api_client: Swoosh.ApiClient.Finch, finch_name: Xmplry.Finch
# Disable Swoosh Local Memory Storage
config :swoosh, local: false
# Do not print debug messages in production
config :logger, level: :info
# Configure Rust NIFs
config :xmplry, Xmplry.Envelope,
crate: :envelope,
skip_compilation?: true,
load_from: {:xmplry, "priv/native/libenvelope"}
# Runtime production configuration, including reading
# of environment variables, is done on config/runtime.exs.