Read key pem from file in production
This commit is contained in:
parent
eb04d0d4f7
commit
76a480c0b7
|
@ -83,7 +83,7 @@ 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,
|
config :tusker_push, :apns,
|
||||||
key_pem: System.fetch_env!("APNS_KEY_PEM"),
|
key_pem: File.read!(System.fetch_env!("APNS_KEY_PEM_PATH")),
|
||||||
key_id: System.fetch_env!("APNS_KEY_ID"),
|
key_id: System.fetch_env!("APNS_KEY_ID"),
|
||||||
team_id: System.fetch_env!("APNS_TEAM_ID"),
|
team_id: System.fetch_env!("APNS_TEAM_ID"),
|
||||||
bundle_id: System.fetch_env!("APNS_BUNDLE_ID")
|
bundle_id: System.fetch_env!("APNS_BUNDLE_ID")
|
||||||
|
|
Loading…
Reference in New Issue