Error for "Blocked script execution because the document's frame is sandboxed and the 'allow-scripts

Hi,

We are using https://github.com/Shopify/shopify-app-template-node for building the app in React & Node, when we run the code locally, it is working fine but the moment we host/upload on shopify and install the app, it throws “Blocked script execution in ‘https://XXXX.in/?embedded=1&hmac=XXXX&locale=en-IN&session=A4c80f1288993ade38598c53034c833326c0adb1698fecb654906a49457582b9&shop={shop}&timestamp=1749035574’ because the document’s frame is sandboxed and the ‘allow-scripts’ permission is not set.”