},
methods: {
fetchConfig: function () {
- fetch(`${this.item.url}/api/health`, {
+ fetch(`${this.item.url}/api/health?apikey=${this.item.apikey}`, {
credentials: "include",
- headers: { "X-Api-Key": `${this.item.apikey}` },
})
.then((response) => {
if (response.status != 200) {
console.error(e);
this.serverError = true;
});
- fetch(`${this.item.url}/api/queue`, {
+ fetch(`${this.item.url}/api/queue?apikey=${this.item.apikey}`, {
credentials: "include",
- headers: { "X-Api-Key": `${this.item.apikey}` },
})
.then((response) => {
if (response.status != 200) {