diff options
author | Kim <1877318+kimsible@users.noreply.github.com> | 2020-07-10 10:20:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 10:20:11 +0200 |
commit | caf2aaf4f9d38ad441a5562c3b8720f8779d6f78 (patch) | |
tree | 2a93cbfd2aee6089fd334f28dcb47c18a368a6fd /support/docker | |
parent | 27647da17fe53ff24ed27ef8618bc244c0be6b26 (diff) | |
download | PeerTube-caf2aaf4f9d38ad441a5562c3b8720f8779d6f78.tar.gz PeerTube-caf2aaf4f9d38ad441a5562c3b8720f8779d6f78.tar.zst PeerTube-caf2aaf4f9d38ad441a5562c3b8720f8779d6f78.zip |
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 <kimsible@users.noreply.github.com>
Diffstat (limited to 'support/docker')
-rw-r--r-- | support/docker/production/config/production.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
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: | |||
54 | captions: '../data/captions/' | 54 | captions: '../data/captions/' |
55 | cache: '../data/cache/' | 55 | cache: '../data/cache/' |
56 | plugins: '../data/plugins/' | 56 | plugins: '../data/plugins/' |
57 | # Overridable client files : logo.svg, favicon.png and icons/*.png (PWA) in client/dist/assets/images | ||
58 | # Could contain for example assets/images/favicon.png | ||
59 | # If the file exists, peertube will serve it | ||
60 | # If not, peertube will fallback to the default fil | ||
61 | client_overrides: '../data/client-overrides/' | ||
57 | 62 | ||
58 | log: | 63 | log: |
59 | level: 'info' # debug/info/warning/error | 64 | level: 'info' # debug/info/warning/error |