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

Function assetRequest

apps/cloud/executor.config.ts:88–88  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

86};
87
88const assetRequest = (path: string): Request => new Request(new URL(path, "https://assets.local"));
89
90const fetchAsset = async (
91 assets: { readonly fetch: (request: Request) => Promise<Response> },

Callers 1

fetchAssetFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected