mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 10:45:27 +00:00
fixing custom logos
This commit is contained in:
parent
6aff45b21e
commit
7a24511f51
2 changed files with 12 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
),
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue