Skip to content

Commit 0d2f657

Browse files
committed
Update extra applications list
1 parent 8b616fa commit 0d2f657

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/pythonx/utils.ex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ defmodule Pythonx.Utils do
88
"""
99
@spec fetch_body!(String.t()) :: binary()
1010
def fetch_body!(url) do
11-
{:ok, _} = Application.ensure_all_started(:inets)
12-
{:ok, _} = Application.ensure_all_started(:ssl)
11+
{:ok, _} = Application.ensure_all_started([:inets, :ssl, :public_key])
1312

1413
# Starting an HTTP client profile allows us to scope the httpc
1514
# configuration options, such as proxy options.

mix.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ defmodule Pythonx.MixProject do
3232

3333
def application do
3434
[
35-
extra_applications: [:logger],
35+
extra_applications: [:logger, :inets, :ssl, :public_key],
3636
mod: {Pythonx.Application, []}
3737
]
3838
end

0 commit comments

Comments
 (0)