MCPcopy
hub / github.com/ampproject/amphtml / isCdnProxy

Function isCdnProxy

ads/google/a4a/utils.js:927–929  ·  view source on GitHub ↗
(win)

Source from the content-addressed store, hash-verified

925 * @return {boolean}
926 */
927export function isCdnProxy(win) {
928 return CDN_PROXY_REGEXP.test(win.location.origin);
929}
930
931/**
932 * Populates the fields of the given Nameframe experiment config object.

Calls 1

testMethod · 0.45

Tested by

no test coverage detected