summaryrefslogtreecommitdiffhomepage
path: root/packages/app/src/context
diff options
context:
space:
mode:
authorGitHub Action <[email protected]>2026-01-10 14:55:55 +0000
committerGitHub Action <[email protected]>2026-01-10 14:55:55 +0000
commita8f23fb54812c4cbd60a8b1057d234200a7f6e02 (patch)
tree87c7865f34ce4f6cfbd78677337830180ffb374d /packages/app/src/context
parent1a642a79a661b54f3cf1996e39f69fcb04c2a748 (diff)
downloadopencode-a8f23fb54812c4cbd60a8b1057d234200a7f6e02.tar.gz
opencode-a8f23fb54812c4cbd60a8b1057d234200a7f6e02.zip
chore: generate
Diffstat (limited to 'packages/app/src/context')
-rw-r--r--packages/app/src/context/server.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/app/src/context/server.tsx b/packages/app/src/context/server.tsx
index 4cfe9cc27..8945cd37e 100644
--- a/packages/app/src/context/server.tsx
+++ b/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) {