mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-02 22:40:22 +00:00
fix(desktop): remove split operation in serverDisplayName function (#7397)
This commit is contained in:
parent
b6b0097755
commit
1a642a79a6
1 changed files with 0 additions and 1 deletions
|
|
@ -19,7 +19,6 @@ export function serverDisplayName(url: string) {
|
|||
return url
|
||||
.replace(/^https?:\/\//, "")
|
||||
.replace(/\/+$/, "")
|
||||
.split("/")[0]
|
||||
}
|
||||
|
||||
function projectsKey(url: string) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue