carbon-design-system / carbon-for-ibm-dotcom

Carbon for IBM.com is based on the Carbon Design System for IBM
https://www.ibm.com/standards/carbon/
Apache License 2.0
269 stars 156 forks source link

Netlify getting CORS errors when calling translation service #446

Closed jeffchew closed 5 years ago

jeffchew commented 5 years ago

Jeff-Chew created the following on Sep 16:

Detailed description

The masthead and footer are both calling the translation service in Netlify. However, they are getting a CORS error when attempting to make this call. The CORS proxy will need to be set up on Netlify properly for the calls to www.ibm.com to work correctly.

Steps to reproduce the issue

  1. Go to https://ibmdotcom-react.netlify.com
  2. Notice that the navigation links are not appearing in the header or footer

Additional information

Original issue: https://github.ibm.com/webstandards/digital-design/issues/1710

jeffchew commented 5 years ago

On Sep 16, Jeff-Chew commented: It was a CORS configuration issues for the whitelisting. This has been fixed, plus added documentation on the findings so others will not run into this issue in the future: https://ibm.ent.box.com/notes/519117657731