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 /config/default.yaml | |
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 'config/default.yaml')
-rw-r--r-- | config/default.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index a3df1bd45..d6f7f7afe 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -85,6 +85,11 @@ storage: | |||
85 | captions: 'storage/captions/' | 85 | captions: 'storage/captions/' |
86 | cache: 'storage/cache/' | 86 | cache: 'storage/cache/' |
87 | plugins: 'storage/plugins/' | 87 | plugins: 'storage/plugins/' |
88 | # Overridable client files : logo.svg, favicon.png and icons/*.png (PWA) in client/dist/assets/images | ||
89 | # Could contain for example assets/images/favicon.png | ||
90 | # If the file exists, peertube will serve it | ||
91 | # If not, peertube will fallback to the default fil | ||
92 | client_overrides: 'storage/client-overrides/' | ||
88 | 93 | ||
89 | log: | 94 | log: |
90 | level: 'info' # debug/info/warning/error | 95 | level: 'info' # debug/info/warning/error |