MCPcopy Create free account
hub / github.com/ScattrdBlade/bigFileUpload / getEmbedProxyService

Function getEmbedProxyService

utils/upload.ts:1189–1193  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1187]);
1188
1189function getEmbedProxyService(): EmbedProxyService {
1190 const service = settings.store.embedProxyService;
1191 return service === "nfp" ? service : "cors";
1192
1193}
1194
1195function shouldProxyEmbedUrl(url: string): boolean {
1196 const ext = getUrlExtension(url)?.toLowerCase();

Callers 1

applyEmbedProxyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected