]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
No authentication required for public endpoint
authorunknown <espilioto@gmail.com>
Thu, 31 Mar 2022 20:54:26 +0000 (23:54 +0300)
committerunknown <espilioto@gmail.com>
Thu, 31 Mar 2022 20:54:26 +0000 (23:54 +0300)
src/components/services/Emby.vue

index 4d543440bdd5ba7dc6dd81ba490e4728c90c57ac..98b7ed31b364a49333bfd0cc39204cee4760513a 100644 (file)
@@ -59,11 +59,7 @@ export default {
   },
   methods: {
     fetchServerStatus: async function () {
-      const headers = {
-        "X-Emby-Token": this.item.apikey,
-      };
-
-      await this.fetch("/System/info/public", { headers })
+      await this.fetch("/System/info/public")
         .then((response) => {
           if (response.Id) this.status = "running";
           else this.status = "dead";