File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -40,12 +40,6 @@ import (
40
40
"github.com/pkg/errors"
41
41
)
42
42
43
- // The Content-Security-Policy in use by the AMP Cache today. Specifying here
44
- // provides protection for the publisher against bugs in the transformers, as
45
- // these pages will now run on the publisher's origin. In the future, this
46
- // value will likely be versioned along with the transforms.
47
- var contentSecurityPolicy = "default-src * blob: data:; script-src blob: https://cdn.ampproject.org/rtv/ https://cdn.ampproject.org/v0.js https://cdn.ampproject.org/v0/ https://cdn.ampproject.org/viewer/; object-src 'none'; style-src 'unsafe-inline' https://cdn.ampproject.org/rtv/ https://cdn.materialdesignicons.com https://cloud.typography.com https://fast.fonts.net https://fonts.googleapis.com https://maxcdn.bootstrapcdn.com https://p.typekit.net https://pro.fontawesome.com https://use.fontawesome.com https://use.typekit.net; report-uri https://csp-collector.appspot.com/csp/amp"
48
-
49
43
// The user agent to send when issuing fetches. Should look like a mobile device.
50
44
const userAgent = "Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) " +
51
45
"AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.96 Mobile " +
You can’t perform that action at this time.
0 commit comments