From e32643056e89baebef82b72ba6e342653cec74f2 Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 22 Sep 2021 10:37:52 -0700 Subject: Add credentials: "include" back to Sonarr --- src/components/services/Sonarr.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/components') diff --git a/src/components/services/Sonarr.vue b/src/components/services/Sonarr.vue index 7851b6b..4d94c08 100644 --- a/src/components/services/Sonarr.vue +++ b/src/components/services/Sonarr.vue @@ -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); -- cgit v1.2.3