Skip to content

Commit

Permalink
Merge pull request #542 from elixir-tesla/fix-docs
Browse files Browse the repository at this point in the history
fix: global example
  • Loading branch information
yordis authored Sep 13, 2022
2 parents 308a676 + 628c8d7 commit b51c774
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/tesla/adapter/mint.ex
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ if Code.ensure_loaded?(Mint.HTTP) do
use Tesla
adapter Tesla.Adapter.Mint
end
# set global custom cacertfile
config :tesla, Tesla.Adapter.Mint, cacert: ["path_to_cacert"]
config :tesla, adapter: {Tesla.Adapter.Mint, cacert: ["path_to_cacert"]}
```
## Adapter specific options:
Expand Down

0 comments on commit b51c774

Please sign in to comment.