mirror of
https://github.com/BreizhHardware/Jellystat.git
synced 2026-01-18 16:27:20 +01:00
dix for device icon not displaying in emby on active sessions
This commit is contained in:
@@ -26,6 +26,9 @@ router.get("/web/assets/img/devices/", async (req, res) => {
|
||||
})
|
||||
.then((response) => {
|
||||
res.set("Content-Type", "image/svg+xml");
|
||||
if (config.IS_JELLYFIN == false) {
|
||||
res.set("Content-Type", "image/png");
|
||||
}
|
||||
res.status(200);
|
||||
|
||||
if (response.headers["content-type"].startsWith("image/")) {
|
||||
|
||||
Reference in New Issue
Block a user