mirror of https://github.com/bastienwirtz/homer
Add credentials: "include" back to Sonarr
parent
eecd0db92e
commit
e32643056e
|
@ -70,7 +70,9 @@ export default {
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
fetchConfig: function () {
|
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) => {
|
.then((response) => {
|
||||||
if (response.status != 200) {
|
if (response.status != 200) {
|
||||||
throw new Error(response.statusText);
|
throw new Error(response.statusText);
|
||||||
|
|
Loading…
Reference in New Issue