mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2026-07-13 01:02:18 +08:00
cargo clippy
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user