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

View File

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