From caf2aaf4f9d38ad441a5562c3b8720f8779d6f78 Mon Sep 17 00:00:00 2001 From: Kim <1877318+kimsible@users.noreply.github.com> Date: Fri, 10 Jul 2020 10:20:11 +0200 Subject: Add ability to override client assets : logo - favicon - PWA icons - PWA manifest name and description (#2897) * Add client-overrides storage to config * Add static-serve for client overrides * Move backgroun-image logo from bundle to css tag for runtime content hash * Add dynamic JSON manifest * Add content hash for manifest, favicon and logo Co-authored-by: kimsible --- support/docker/production/config/production.yaml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'support/docker') diff --git a/support/docker/production/config/production.yaml b/support/docker/production/config/production.yaml index 4eeca4110..a32cf1a89 100644 --- a/support/docker/production/config/production.yaml +++ b/support/docker/production/config/production.yaml @@ -54,6 +54,11 @@ storage: captions: '../data/captions/' cache: '../data/cache/' plugins: '../data/plugins/' + # Overridable client files : logo.svg, favicon.png and icons/*.png (PWA) in client/dist/assets/images + # Could contain for example assets/images/favicon.png + # If the file exists, peertube will serve it + # If not, peertube will fallback to the default fil + client_overrides: '../data/client-overrides/' log: level: 'info' # debug/info/warning/error -- cgit v1.2.3