React App with 8thwall has been blocked by CORS policy

Error:

Access to script at ‘https://unpkg.com/react/umd/react.production.min.js’ from origin ‘https://xxxxxxxxxxxxxxxxx.dev.8thwall.app’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.

head.html using:

<meta name="8thwall:renderer" content="aframe:1.3.0">
<meta name="8thwall:package" content="@8thwall.xrextras">
<meta name="8thwall:package" content="@8thwall.landing-page">
<meta name="8thwall:package" content="@react.react">
<meta name="8thwall:package" content="@react.react-dom">
<meta name="8thwall:package" content="@react.react-router-dom">

please help me

no longer works

Please help me fix react app

This problem is caused by
https://unpkg.com/react/umd/react.production.min.js
is dead and cannot be accessed.

My temporary solution is to use another CDN :

  • comment out
<!-- <meta name="8thwall:package" content="@react.react"> -->

<!-- <meta name="8thwall:package" content="@react.react-dom"> -->

<!-- <meta name="8thwall:package" content="@react.react-router-dom"> -->
  • Add new CDN
<script src="//cdn.jsdelivr.net/npm/react@latest/umd/react.production.min.js"></script>

<script src="//cdn.jsdelivr.net/npm/react-dom@latest/umd/react-dom.production.min.js"></script>

<script src="//cdn.jsdelivr.net/npm/react-router-dom@latest/umd/react-router-dom.min.js"></script>