File tree Expand file tree Collapse file tree 3 files changed +21
-9
lines changed
pwa-kit-create-app/assets
bootstrap/js/overrides/app
templates/@salesforce/retail-react-app/app
template-retail-react-app/app Expand file tree Collapse file tree 3 files changed +21
-9
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,9 @@ const {handler} = runtime.createHandler(options, (app) => {
351351 // Default source for product images - replace with your CDN
352352 '*.commercecloud.salesforce.com',
353353 '*.demandware.net',
354- '*.adyen.com' // Payment gateways
354+ '*.adyen.com', // Payment gateways
355+ 'pay.google.com', // Google Pay payment handler icon
356+ 'www.gstatic.com' // optional, if icon is on gstatic
355357 ],
356358 'script-src': [
357359 // Used by the service worker in /worker/main.js
@@ -383,8 +385,10 @@ const {handler} = runtime.createHandler(options, (app) => {
383385 '*.paypal.com',
384386 'pay.google.com',
385387 'payments.google.com',
386- 'google.com',
387- 'www.google.com'
388+ 'google.com/pay',
389+ 'google.com/pay/',
390+ 'www.google.com/pay',
391+ 'www.google.com/pay/'
388392 ],
389393 'frame-src': [
390394 // Allow frames from Salesforce site.com (Needed for MIAW)
Original file line number Diff line number Diff line change @@ -351,7 +351,9 @@ const {handler} = runtime.createHandler(options, (app) => {
351351 // Default source for product images - replace with your CDN
352352 '*.commercecloud.salesforce.com',
353353 '*.demandware.net',
354- '*.adyen.com' // Payment gateways
354+ '*.adyen.com', // Payment gateways
355+ 'pay.google.com', // Google Pay payment handler icon
356+ 'www.gstatic.com' // optional, if icon is on gstatic
355357 ],
356358 'script-src': [
357359 // Used by the service worker in /worker/main.js
@@ -383,8 +385,10 @@ const {handler} = runtime.createHandler(options, (app) => {
383385 '*.paypal.com',
384386 'pay.google.com',
385387 'payments.google.com',
386- 'google.com',
387- 'www.google.com'
388+ 'google.com/pay',
389+ 'google.com/pay/',
390+ 'www.google.com/pay',
391+ 'www.google.com/pay/'
388392 ],
389393 'frame-src': [
390394 // Allow frames from Salesforce site.com (Needed for MIAW)
Original file line number Diff line number Diff line change @@ -362,7 +362,9 @@ const {handler} = runtime.createHandler(options, (app) => {
362362 // Default source for product images - replace with your CDN
363363 '*.commercecloud.salesforce.com' ,
364364 '*.demandware.net' ,
365- '*.adyen.com'
365+ '*.adyen.com' ,
366+ 'pay.google.com' , // Google Pay payment handler icon
367+ 'www.gstatic.com' // optional, if icon is on gstatic
366368 ] ,
367369 'script-src' : [
368370 // Used by the service worker in /worker/main.js
@@ -392,8 +394,10 @@ const {handler} = runtime.createHandler(options, (app) => {
392394 '*.paypal.com' ,
393395 'pay.google.com' ,
394396 'payments.google.com' ,
395- 'google.com' ,
396- 'www.google.com'
397+ 'google.com/pay' ,
398+ 'google.com/pay/' ,
399+ 'www.google.com/pay' ,
400+ 'www.google.com/pay/'
397401 ] ,
398402 'frame-src' : [
399403 // Allow frames from Salesforce site.com (Needed for MIAW)
You can’t perform that action at this time.
0 commit comments