MCPcopy
hub / github.com/angular/angular / isAllowedJsonpUrl

Method isAllowedJsonpUrl

packages/common/http/src/jsonp.ts:294–296  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

292 }
293
294 private isAllowedJsonpUrl(url: string): boolean {
295 return /^https?:\/\//i.test(url);
296 }
297}
298
299/**

Callers 1

handleMethod · 0.95

Calls 1

testMethod · 0.45

Tested by

no test coverage detected