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

Function originHeaders

e2e/cloud/oauth-callback-org-scope.test.ts:40–40  ·  view source on GitHub ↗
(baseUrl: string)

Source from the content-addressed store, hash-verified

38const cookieOf = (identity: Identity): string => identity.headers?.cookie ?? "";
39
40const originHeaders = (baseUrl: string) => ({ origin: new URL(baseUrl).origin });
41
42const escapeRegExp = (value: string): string => value.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
43

Callers 1

createOrganizationFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected