diff options
author | kontrollanten <6680299+kontrollanten@users.noreply.github.com> | 2021-10-12 13:50:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-12 13:50:40 +0200 |
commit | c80e458afb63915163467fe9b3b147b3b4e4657d (patch) | |
tree | dfccb957220c79360e5ec7d70848e312029a508c /server/controllers | |
parent | c3bb04413ec05dfe544ec74ffdf2f264975bd121 (diff) | |
download | PeerTube-c80e458afb63915163467fe9b3b147b3b4e4657d.tar.gz PeerTube-c80e458afb63915163467fe9b3b147b3b4e4657d.tar.zst PeerTube-c80e458afb63915163467fe9b3b147b3b4e4657d.zip |
extend client-overrides with default images (#4392)
* extend client-overrides with default images
Add:
* default-playlist.png
* default-avatar-account.png
* default-avatar-videochannel.png
solves #4108
* Rename to default-avatar-video-channel.png
Co-authored-by: Chocobozzz <me@florianbigard.com>
Diffstat (limited to 'server/controllers')
-rw-r--r-- | server/controllers/client.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/server/controllers/client.ts b/server/controllers/client.ts index cdc556da2..86ac5fbbc 100644 --- a/server/controllers/client.ts +++ b/server/controllers/client.ts | |||
@@ -65,7 +65,10 @@ const staticClientOverrides = [ | |||
65 | 'assets/images/icons/icon-96x96.png', | 65 | 'assets/images/icons/icon-96x96.png', |
66 | 'assets/images/icons/icon-144x144.png', | 66 | 'assets/images/icons/icon-144x144.png', |
67 | 'assets/images/icons/icon-192x192.png', | 67 | 'assets/images/icons/icon-192x192.png', |
68 | 'assets/images/icons/icon-512x512.png' | 68 | 'assets/images/icons/icon-512x512.png', |
69 | 'assets/images/default-playlist.jpg', | ||
70 | 'assets/images/default-avatar-account.png', | ||
71 | 'assets/images/default-avatar-video-channel.png' | ||
69 | ] | 72 | ] |
70 | 73 | ||
71 | for (const staticClientOverride of staticClientOverrides) { | 74 | for (const staticClientOverride of staticClientOverrides) { |