@samitouri / QOS-React-2 / commits / 3a51db27f2

Fix some CORS issues in IE

Nathan Hunzaker committed Jan 3, 2017 at 20:14 UTC 3a51db27f26d8e2c49923566e376938a5f533be1
1 file changed +1 -1
fixtures/src/components/Header.js
+1 -1
@@ -9,7 +9,7 @@ const Header = React.createClass({
9 return { version, versions };
10 },
11 componentWillMount() {
12 - fetch('http://api.github.com/repos/facebook/react/tags')
12 + fetch('https://api.github.com/repos/facebook/react/tags', { mode: 'cors' })
13 .then(res => res.json())
14 .then(tags => {
15 let versions = tags.map(tag => tag.name.slice(1));