Skip to content

Commit ee0bd31

Browse files
OpeOginnizerone0x
authored andcommitted
fix(desktop): remove split operation in serverDisplayName function (anomalyco#7397)
1 parent 3ddf667 commit ee0bd31

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

packages/app/src/context/server.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export function serverDisplayName(url: string) {
1919
return url
2020
.replace(/^https?:\/\//, "")
2121
.replace(/\/+$/, "")
22-
.split("/")[0]
2322
}
2423

2524
function projectsKey(url: string) {

0 commit comments

Comments
 (0)