Browse Source

chore: generate

GitHub Action 1 month ago
parent
commit
a8f23fb548
1 changed files with 1 additions and 3 deletions
  1. 1 3
      packages/app/src/context/server.tsx

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

@@ -16,9 +16,7 @@ export function normalizeServerUrl(input: string) {
 
 export function serverDisplayName(url: string) {
   if (!url) return ""
-  return url
-    .replace(/^https?:\/\//, "")
-    .replace(/\/+$/, "")
+  return url.replace(/^https?:\/\//, "").replace(/\/+$/, "")
 }
 
 function projectsKey(url: string) {