Blocked by CORS policy and other console errors

#1
Hi I have just migrated to a new Open LightSpeed server for my Wordpress sites.

I have some issues with CORS policy, I have a CloundFront CDN set up but am getting the below errors in the console:

Access to font at 'https://cdn.xxxxxxxx.woff' from origin 'https://xxxxx.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Also get the below error:

You are currently using minified code outside of NODE_ENV === "production". This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or setting mode to production in webpack (https://webpack.js.org/concepts/mode/) to ensure you have the correct code for your production build.

I don't think it's related, but no idea where to set this either.
 
Top