Skip to content

Commit 894159e

Browse files
committed
Better curl instruction
Signed-off-by: Sora Morimoto <[email protected]>
1 parent 4a4543c commit 894159e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/web.mlx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
module Info = struct
22
let title = "Dune Developer Preview"
33
let curl_with_sh url =
4-
Format.sprintf "curl -fsSL %s | sh" url |> JSX.string
4+
Format.sprintf "curl --proto '=https' --tlsv1.2 -sSf %s | sh" url
5+
|> JSX.string
56
end
67

78
module Link = struct

0 commit comments

Comments
 (0)