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

pull/7658/head
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
1 changed files with 0 additions and 1 deletions

View File

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