cargo clippy

This commit is contained in:
Ethan O'Brien
2024-11-21 21:09:36 -06:00
parent b21deaee5f
commit 2a4d927a41
11 changed files with 30 additions and 36 deletions

View File

@@ -356,7 +356,7 @@ pub fn migration_password_register(req: HttpRequest, body: String) -> HttpRespon
pub fn get_protocol() -> String {
let args = crate::get_args();
if args.https == true {
if args.https {
return String::from("https");
}
String::from("http")