No authentication required for public endpoint

This commit is contained in:
unknown 2022-03-31 23:54:26 +03:00
parent abfe72b9cf
commit 5c42d50d47

View 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";