Add APNS things to runtime config

This commit is contained in:
Shadowfacts 2024-04-12 16:50:58 -04:00
parent 7a1b277ea7
commit a12127c307
1 changed files with 6 additions and 0 deletions

View File

@ -82,5 +82,11 @@ if config_env() == :prod do
# #
# Check `Plug.SSL` for all available options in `force_ssl`. # Check `Plug.SSL` for all available options in `force_ssl`.
config :tusker_push, :apns,
key_pem: System.fetch_env!("APNS_KEY_PEM"),
key_id: System.fetch_env!("APNS_KEY_ID"),
team_id: System.fetch_env!("APNS_TEAM_ID"),
bundle_id: System.fetch_env!("APNS_BUNDLE_ID")
config :sentry, dsn: System.fetch_env!("SENTRY_DSN") config :sentry, dsn: System.fetch_env!("SENTRY_DSN")
end end