Browse Source

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

OpeOginni 1 month ago
parent
commit
1a642a79a6
1 changed files with 0 additions and 1 deletions
  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
     .replace(/^https?:\/\//, "")
     .replace(/\/+$/, "")
-    .split("/")[0]
 }
 
 function projectsKey(url: string) {