MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / normalizeRemoteBaseUrl

Function normalizeRemoteBaseUrl

apps/desktop/src/main/index.ts:1107–1109  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

1105}
1106
1107function normalizeRemoteBaseUrl(value: string): string {
1108 return value.trim().replace(/\/+$/, '')
1109}
1110
1111function deriveRemoteWorkspaceProfileName(
1112 input: {

Calls

no outgoing calls

Tested by

no test coverage detected