mirror of
https://github.com/fawney19/Aether.git
synced 2026-09-02 17:30:23 +08:00
feat: improve OAuth provider configuration
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user