Include origin in settings to allow cross-origin requests

This commit is contained in:
HoshinoKoji 2025-03-07 08:32:32 +08:00
parent 80f9e42223
commit 3c739c43f4

View File

@ -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);
}
}
}