mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-11-09 13:44:53 +08:00
parent
935e484580
commit
7f1c5f18c5
2 changed files with 1 additions and 2 deletions
|
|
@ -267,7 +267,6 @@ defmodule Livebook.Teams.Requests do
|
||||||
defp build_req() do
|
defp build_req() do
|
||||||
Req.new(
|
Req.new(
|
||||||
base_url: Livebook.Config.teams_url(),
|
base_url: Livebook.Config.teams_url(),
|
||||||
inet6: true,
|
|
||||||
headers: [{"x-lb-version", Livebook.Config.app_version()}]
|
headers: [{"x-lb-version", Livebook.Config.app_version()}]
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ defmodule Livebook.Teams.WebSocket do
|
||||||
if http_scheme == :https do
|
if http_scheme == :https do
|
||||||
[cacerts: :public_key.cacerts_get()]
|
[cacerts: :public_key.cacerts_get()]
|
||||||
else
|
else
|
||||||
[inet6: true]
|
[]
|
||||||
end
|
end
|
||||||
|
|
||||||
opts = [protocols: [:http1], transport_opts: transport_opts]
|
opts = [protocols: [:http1], transport_opts: transport_opts]
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue