mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-26 06:47:17 +10:00
commit
f3d83b83fc
1 changed files with 3 additions and 0 deletions
|
|
@ -27,6 +27,7 @@ module.exports = (reportUri, enforceSsl, reportOnly) => {
|
|||
const loremPixel = 'https://lorempixel.com/';
|
||||
const placeholder = 'https://via.placeholder.com/';
|
||||
const googleAnalytics = 'https://www.google-analytics.com/';
|
||||
const googleAnalyticsDoubleClick = 'https://stats.g.doubleclick.net/';
|
||||
const googleMaps = 'https://maps.googleapis.com/';
|
||||
const googleStaticCsi = 'https://csi.gstatic.com/';
|
||||
const googleStaticFonts = 'https://fonts.gstatic.com/';
|
||||
|
|
@ -64,6 +65,8 @@ module.exports = (reportUri, enforceSsl, reportOnly) => {
|
|||
// enabled.
|
||||
scriptSrc.push(googleAnalytics);
|
||||
imgSrc.push(googleAnalytics);
|
||||
imgSrc.push(googleAnalyticsDoubleClick);
|
||||
connectSrc.push(googleAnalytics);
|
||||
}
|
||||
if (sentryClientEnabled) {
|
||||
connectSrc.push(sentryApi);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue