aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/components/services
diff options
context:
space:
mode:
authorunknown <espilioto@gmail.com>2022-03-31 23:54:26 +0300
committerunknown <espilioto@gmail.com>2022-03-31 23:54:26 +0300
commit5c42d50d4719fafb910685ac85b84be5980e6761 (patch)
tree35646a8a22fa88d42783dc056b4f003adbb9c704 /src/components/services
parentabfe72b9cfc0a4fde3f5e5948dd516bda0e2a2ff (diff)
downloadhomer-5c42d50d4719fafb910685ac85b84be5980e6761.tar.gz
homer-5c42d50d4719fafb910685ac85b84be5980e6761.tar.zst
homer-5c42d50d4719fafb910685ac85b84be5980e6761.zip
No authentication required for public endpoint
Diffstat (limited to 'src/components/services')
-rw-r--r--src/components/services/Emby.vue6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/components/services/Emby.vue b/src/components/services/Emby.vue
index 4d54344..98b7ed3 100644
--- a/src/components/services/Emby.vue
+++ b/src/components/services/Emby.vue
@@ -59,11 +59,7 @@ export default {
59 }, 59 },
60 methods: { 60 methods: {
61 fetchServerStatus: async function () { 61 fetchServerStatus: async function () {
62 const headers = { 62 await this.fetch("/System/info/public")
63 "X-Emby-Token": this.item.apikey,
64 };
65
66 await this.fetch("/System/info/public", { headers })
67 .then((response) => { 63 .then((response) => {
68 if (response.Id) this.status = "running"; 64 if (response.Id) this.status = "running";
69 else this.status = "dead"; 65 else this.status = "dead";