aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/client.ts
diff options
context:
space:
mode:
authorkontrollanten <6680299+kontrollanten@users.noreply.github.com>2021-10-12 13:50:40 +0200
committerGitHub <noreply@github.com>2021-10-12 13:50:40 +0200
commitc80e458afb63915163467fe9b3b147b3b4e4657d (patch)
treedfccb957220c79360e5ec7d70848e312029a508c /server/controllers/client.ts
parentc3bb04413ec05dfe544ec74ffdf2f264975bd121 (diff)
downloadPeerTube-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/client.ts')
-rw-r--r--server/controllers/client.ts5
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
71for (const staticClientOverride of staticClientOverrides) { 74for (const staticClientOverride of staticClientOverrides) {