We are deploying our site to a CDN service by using the PUBLIC_URL feature of the create-react-app project. But we got stuck when taking a snapshot, react-snapshot cannot load scripts when they are located under a third-party domain. This pull request interprets the loading process of scripts under PUBLIC_URL domain to load local scripts instead.
We are deploying our site to a CDN service by using the PUBLIC_URL feature of the create-react-app project. But we got stuck when taking a snapshot, react-snapshot cannot load scripts when they are located under a third-party domain. This pull request interprets the loading process of scripts under PUBLIC_URL domain to load local scripts instead.