Fix file name

This commit is contained in:
2022-09-24 10:02:16 +00:00
committed by GitHub
parent df2f30ea1f
commit 2597b41220

View File

@@ -133,7 +133,7 @@ impl Main {
Ok(_) => {}
Err(_) => {
let mut cert = utils::get_exe_path_else_current();
cert.push("cert.pem");
cert.set_file_name("cert.pem");
if cert.exists() {
std::env::set_var("SSL_CERT_FILE", cert);
}