feat: improve OAuth provider configuration

This commit is contained in:
fawney19
2026-05-04 00:18:05 +08:00
parent cb5b8ee1ee
commit fb642f7d62
9 changed files with 934 additions and 122 deletions

View File

@@ -41,5 +41,9 @@ fn git_describe_version() -> Option<String> {
}
fn normalize_version(value: &str) -> String {
value.trim().strip_prefix('v').unwrap_or(value.trim()).to_string()
value
.trim()
.strip_prefix('v')
.unwrap_or(value.trim())
.to_string()
}