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