Fix api auth bug

This commit is contained in:
Prayag Prajapati committed 2023-10-13 00:13:03 +05:30
1 parent 4ba08867ba
commit 339f86517c
3 files changed
+33 -56

No files matched your search

-12
View File
@@ -20,18 +20,6 @@ if (!deviceId) {
localStorage.setItem("deviceId", uuidv4());
}
// event.on("create-jellyfin-api", (serverAddress) => {
// window.api = ;
// // window.api = jellyfin.createApi(serverAddress);
// });
// event.on("set-api-accessToken", (serverAddress) => {
// window.api = jellyfin.createApi(
// serverAddress,
// sessionStorage.getItem("accessToken"),
// axiosClient,
// );
// // });
const jellyfin = new Jellyfin({
clientInfo: {
name: "JellyPlayer",