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