MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / serverLabel

Function serverLabel

packages/app/src/web/server-connection-menu.tsx:141–142  ·  view source on GitHub ↗
(connection: ExecutorServerConnection)

Source from the content-addressed store, hash-verified

139};
140
141const serverLabel = (connection: ExecutorServerConnection): string =>
142 connection.displayName || connection.origin.replace(/^https?:\/\//, "");
143
144const serverDescription = (connection: ExecutorServerConnection): string =>
145 connection.origin.replace(/^https?:\/\//, "");

Callers 1

ServerConnectionMenuFunction · 0.85

Calls 1

replaceMethod · 0.65

Tested by

no test coverage detected