From 4d53c5d7d81833f54907ab98f92bd8e0260f6b1e Mon Sep 17 00:00:00 2001 From: Sora Morimoto Date: Thu, 14 Nov 2024 04:07:02 +0900 Subject: [PATCH] Better curl instruction Signed-off-by: Sora Morimoto --- lib/web.mlx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/web.mlx b/lib/web.mlx index 876824b..9d096f0 100644 --- a/lib/web.mlx +++ b/lib/web.mlx @@ -1,7 +1,8 @@ module Info = struct let title = "Dune Developer Preview" let curl_with_sh url = - Format.sprintf "curl -fsSL %s | sh" url |> JSX.string + Format.sprintf "curl --proto '=https' --tlsv1.2 -fsSL %s | sh" url + |> JSX.string end module Link = struct