Update authentication headers to support v12 requirements, also add v12 skin support to skins from v11

This commit is contained in:
HighImKevin committed 2026-09-09 05:54:42 -04:00
1 parent 290b36f7bf
commit 6f2617f942
15 files changed
+135 -153

No files matched your search

+2 -2
View File
@@ -93,7 +93,7 @@
`${serverAddress}/DisplayPreferences/usersettings?userId=${userId}&client=emby`,
{
headers: {
'X-Emby-Token': accessToken
'Authorization': apiHelper.getAuthHeader()
}
}
);
@@ -345,7 +345,7 @@
method: "GET",
headers: {
"Content-Type": "application/json",
"X-Emby-Token": ApiClient._serverInfo.AccessToken || ApiClient.accessToken(),
"Authorization": apiHelper.getAuthHeader(),
},
});
const customTabs = await response.json();