mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 02:57:30 +00:00
Allow us to work with CORs
This commit is contained in:
parent
54ebe05963
commit
e5d47ef33a
1 changed files with 1 additions and 1 deletions
|
|
@ -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 });
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue