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