]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Add credentials: "include" back to Sonarr
authorColin <mcclurec@gmail.com>
Wed, 22 Sep 2021 17:37:52 +0000 (10:37 -0700)
committerGitHub <noreply@github.com>
Wed, 22 Sep 2021 17:37:52 +0000 (10:37 -0700)
src/components/services/Sonarr.vue

index 7851b6b6b1dbc484e2da5218a2fa7926c239f746..4d94c08e5c2d7eb32d3fbb6bc11c129f5bdf6df8 100644 (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);