Przeglądaj źródła

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

OpeOginni 9 miesięcy temu
rodzic
commit
1a642a79a6
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      packages/app/src/context/server.tsx

+ 0 - 1
packages/app/src/context/server.tsx

@@ -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) {