Add credentials: "include" back to Sonarr

pull/291/head
Colin 2021-09-22 10:37:52 -07:00 committed by GitHub
parent eecd0db92e
commit e32643056e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -70,7 +70,9 @@ export default {
},
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);