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

Function sameOrigin

apps/cli/src/server-connection.ts:115–117  ·  view source on GitHub ↗
(left: string, right: string)

Source from the content-addressed store, hash-verified

113 | { readonly kind: "conflict"; readonly active: ExecutorLocalServerManifest };
114
115const sameOrigin = (left: string, right: string): boolean =>
116 normalizeExecutorServerConnection({ origin: left }).origin ===
117 normalizeExecutorServerConnection({ origin: right }).origin;
118
119export const chooseCliServerConnectionWithActiveLocal = (input: {
120 readonly requested: ExecutorServerConnection;

Calls 1

Tested by

no test coverage detected