The base URL in the card frame is set to the parent's domain, so that requests for cardframe.js and cardframe.css, but this means requests for all other assets, which lead to a 404, are also sent to the server.
In a mobile app, and in testing, this doesn't matter much, but in production it will mean a ton of unnecessary HTTP traffic, which all leads to 404s.
An attempt should be made to not set the base URL, and set the full path to the JS and CSS assets explicitly.
The base URL in the card frame is set to the parent's domain, so that requests for
cardframe.js
andcardframe.css
, but this means requests for all other assets, which lead to a 404, are also sent to the server.In a mobile app, and in testing, this doesn't matter much, but in production it will mean a ton of unnecessary HTTP traffic, which all leads to 404s.
An attempt should be made to not set the base URL, and set the full path to the JS and CSS assets explicitly.