Verified Commit 332683e0 authored by Chocobozzz's avatar Chocobozzz
Browse files

Rename to default-avatar-video-channel.png

parent 488f1669
......@@ -41,7 +41,7 @@ export class VideoChannel extends Actor implements ServerVideoChannel {
}
static GET_DEFAULT_AVATAR_URL () {
return `${window.location.origin}/client/assets/images/default-avatar-videochannel.png`
return `${window.location.origin}/client/assets/images/default-avatar-video-channel.png`
}
constructor (hash: Partial<ServerVideoChannel>) {
......
......@@ -94,7 +94,7 @@ storage:
# - favicon.png
# - default-playlist.jpg
# - default-avatar-account.png
# - default-avatar-videochannel.png
# - default-avatar-video-channel.png
# - and icons/*.png (PWA)
# Could contain for example assets/images/favicon.png
# If the file exists, peertube will serve it
......
......@@ -92,7 +92,7 @@ storage:
# - favicon.png
# - default-playlist.jpg
# - default-avatar-account.png
# - default-avatar-videochannel.png
# - default-avatar-video-channel.png
# - and icons/*.png (PWA)
# Could contain for example assets/images/favicon.png
# If the file exists, peertube will serve it
......
......@@ -68,7 +68,7 @@ const staticClientOverrides = [
'assets/images/icons/icon-512x512.png',
'assets/images/default-playlist.jpg',
'assets/images/default-avatar-account.png',
'assets/images/default-avatar-videochannel.png'
'assets/images/default-avatar-video-channel.png'
]
for (const staticClientOverride of staticClientOverrides) {
......
......@@ -60,7 +60,7 @@ storage:
# - favicon.png
# - default-playlist.jpg
# - default-avatar-account.png
# - default-avatar-videochannel.png
# - default-avatar-video-channel.png
# - and icons/*.png (PWA)
# Could contain for example assets/images/favicon.png
# If the file exists, peertube will serve it
......
......@@ -172,7 +172,7 @@ server {
# Bypass PeerTube for performance reasons. Optional.
# Should be consistent with client-overrides assets list in /server/controllers/client.ts
location ~ ^/client/(assets/images/(icons/icon-36x36\.png|icons/icon-48x48\.png|icons/icon-72x72\.png|icons/icon-96x96\.png|icons/icon-144x144\.png|icons/icon-192x192\.png|icons/icon-512x512\.png|logo\.svg|favicon\.png|default-playlist\.jpg|default-avatar-account\.png|default-avatar-videochannel\.png))$ {
location ~ ^/client/(assets/images/(icons/icon-36x36\.png|icons/icon-48x48\.png|icons/icon-72x72\.png|icons/icon-96x96\.png|icons/icon-144x144\.png|icons/icon-192x192\.png|icons/icon-512x512\.png|logo\.svg|favicon\.png|default-playlist\.jpg|default-avatar-account\.png|default-avatar-video-channel\.png))$ {
add_header Cache-Control "public, max-age=31536000, immutable"; # Cache 1 year
root /var/www/peertube;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment