Skip to content

Commit c77fb98

Browse files
committed
Fix insecure_disable_tls_host_verification in serve more
It's currently using `--insecure_tls_verify_host` which is inconsistent with fetch-mode and not what the help text says.
1 parent 1a72bf5 commit c77fb98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ fn parseServeArgs(
333333
continue;
334334
}
335335

336-
if (std.mem.eql(u8, "--insecure_tls_verify_host", opt)) {
336+
if (std.mem.eql(u8, "--insecure_disable_tls_host_verification", opt)) {
337337
tls_verify_host = false;
338338
continue;
339339
}

0 commit comments

Comments
 (0)