Include origin in settings to allow cross-origin requests
This commit is contained in:
parent
80f9e42223
commit
3c739c43f4
@ -43,6 +43,7 @@ export default {
|
|||||||
allowAutoNext: true,
|
allowAutoNext: true,
|
||||||
darkMode: false,
|
darkMode: false,
|
||||||
showItemIndex: true,
|
showItemIndex: true,
|
||||||
|
origin: '*',
|
||||||
lang: 'en-US',
|
lang: 'en-US',
|
||||||
},
|
},
|
||||||
lang,
|
lang,
|
||||||
@ -186,7 +187,7 @@ export default {
|
|||||||
started: this.started,
|
started: this.started,
|
||||||
ended: new Date().getTime(),
|
ended: new Date().getTime(),
|
||||||
results
|
results
|
||||||
}, window.origin);
|
}, this.settings.origin);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user