chore: generate
This commit is contained in:
parent
1a642a79a6
commit
a8f23fb548
1 changed files with 1 additions and 3 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue