diff options
author | Colin <mcclurec@gmail.com> | 2021-09-22 10:37:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-22 10:37:52 -0700 |
commit | e32643056e89baebef82b72ba6e342653cec74f2 (patch) | |
tree | 8ccad98fc6e7e0a91898039d7907f7abd249e475 | |
parent | eecd0db92e84eab5299441a9eb20f1e1d16691fb (diff) | |
download | homer-e32643056e89baebef82b72ba6e342653cec74f2.tar.gz homer-e32643056e89baebef82b72ba6e342653cec74f2.tar.zst homer-e32643056e89baebef82b72ba6e342653cec74f2.zip |
Add credentials: "include" back to Sonarr
-rw-r--r-- | src/components/services/Sonarr.vue | 4 |
1 files changed, 3 insertions, 1 deletions
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 { | |||
70 | }, | 70 | }, |
71 | methods: { | 71 | methods: { |
72 | fetchConfig: function () { | 72 | fetchConfig: function () { |
73 | fetch(`${this.item.url}/api/health?apikey=${this.item.apikey}`) | 73 | fetch(`${this.item.url}/api/health?apikey=${this.item.apikey}`, { |
74 | credentials: "include", | ||
75 | }) | ||
74 | .then((response) => { | 76 | .then((response) => { |
75 | if (response.status != 200) { | 77 | if (response.status != 200) { |
76 | throw new Error(response.statusText); | 78 | throw new Error(response.statusText); |