From e5d47ef33a2122938512d8a3378408f873aacf5c Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Wed, 25 Jul 2018 23:45:11 -0700 Subject: [PATCH] Allow us to work with CORs --- src/App.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 0a87f0e8..788050de 100644 --- a/src/App.js +++ b/src/App.js @@ -29,7 +29,7 @@ class Skin extends React.Component { componentDidMount() { this._dequeue = this.props.queue.enqueue(() => { const signal = this._controller.signal; - return fetch(this.props.src, { signal }) + return fetch(this.props.src, { signal, mode: "no-cors" }) .then(() => { this.setState({ load: true }); })