fixing custom logos

This commit is contained in:
dekzter 2025-04-03 16:06:00 -04:00
parent 6aff45b21e
commit 7a24511f51
2 changed files with 12 additions and 2 deletions

View file

@ -1,5 +1,5 @@
server {
listen NGINX_PORT;
listen 9191;
proxy_connect_timeout 75;
proxy_send_timeout 300;
@ -22,6 +22,10 @@ server {
root /app;
}
location /logos/ {
root /data;
}
# admin disabled when not in dev mode
location /admin {
return 301 /login;

View file

@ -424,7 +424,13 @@ const ChannelsTable = ({}) => {
alignItems: 'center',
}}
>
<img src={cell.getValue() || logo} height="20" alt="channel logo" />
<img
src={
cell.getValue() ? cell.getValue().replace(/^\/data/, '') : logo
}
height="20"
alt="channel logo"
/>
</Grid>
),
},