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,
|
||||
darkMode: false,
|
||||
showItemIndex: true,
|
||||
origin: '*',
|
||||
lang: 'en-US',
|
||||
},
|
||||
lang,
|
||||
@ -186,7 +187,7 @@ export default {
|
||||
started: this.started,
|
||||
ended: new Date().getTime(),
|
||||
results
|
||||
}, window.origin);
|
||||
}, this.settings.origin);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user