fix(desktop): remove split operation in serverDisplayName function (#7397)

This commit is contained in:
OpeOginni 2026-01-10 15:55:20 +01:00 committed by GitHub
parent b6b0097755
commit 1a642a79a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -19,7 +19,6 @@ export function serverDisplayName(url: string) {
return url
.replace(/^https?:\/\//, "")
.replace(/\/+$/, "")
.split("/")[0]
}
function projectsKey(url: string) {