fix: allow invalid certs

This commit is contained in:
2025-03-08 18:31:44 +00:00
parent 8c3756e3e8
commit 9606b91e6d
3 changed files with 7 additions and 4 deletions

View File

@ -19,7 +19,7 @@ impl MikrotikRouter {
STANDARD.encode(format!("{}:{}", username, password))
);
Self {
api: JsonApi::token(url, &auth).unwrap(),
api: JsonApi::token(url, &auth, true).unwrap(),
}
}
}