Support connect gateway (#306)

This commit is contained in:
Kevin Yue authored and GitHub committed 2024-01-28 11:41:48 +08:00
1 parent 6fe6a1387a
commit b2bb35994f
14 files changed
+220 -92

No files matched your search

+1 -3
View File
@@ -116,9 +116,7 @@ pub(crate) async fn run() {
}
if err.contains("certificate verify failed") && !cli.ignore_tls_errors {
eprintln!(
"\nRe-run it with the `--ignore-tls-errors` option to ignore the certificate error, e.g.:\n"
);
eprintln!("\nRe-run it with the `--ignore-tls-errors` option to ignore the certificate error, e.g.:\n");
// Print the command
let args = std::env::args().collect::<Vec<_>>();
eprintln!("{} --ignore-tls-errors {}\n", args[0], args[1..].join(" "));