Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Fix email object/body configurations

Chocobozzzdd2c2a52ccd0
diff --git a/config/production.yaml.example b/config/production.yaml.example
index c025426bb9..bd0d956bdb 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -54,6 +54,12 @@ smtp:
ca_file: null # Used for self signed certificates
from_address: '[email protected]'
+email:
+ body:
+ signature: "PeerTube"
+ object:
+ prefix: "[PeerTube]"
+
# From the project root directory
storage:
tmp: '/var/www/peertube/storage/tmp/' # Used to download data (imports etc), store uploaded files before processing...
@@ -248,8 +254,6 @@ instance:
"# If you would like to report a security issue\n# you may report it to:\nContact: https://github.com/Chocobozzz/PeerTube/blob/develop/SECURITY.md\nContact: mailto:"
services:
- # You can provide a reporting endpoint for Content Security Policy violations
- csp-logger:
# Cards configuration to format video in Twitter
twitter:
username: '@Chocobozzz' # Indicates the Twitter account for the website or platform on which the content was published
diff --git a/server/initializers/checker-before-init.ts b/server/initializers/checker-before-init.ts
index 622ad7d6b1..c211d725ce 100644
--- a/server/initializers/checker-before-init.ts
+++ b/server/initializers/checker-before-init.ts
@@ -10,6 +10,7 @@ function checkMissedConfig () {
'trust_proxy',
'database.hostname', 'database.port', 'database.suffix', 'database.username', 'database.password', 'database.pool.max',
'smtp.hostname', 'smtp.port', 'smtp.username', 'smtp.password', 'smtp.tls', 'smtp.from_address',
+ 'email.body.signature', 'email.object.prefix',
'storage.avatars', 'storage.videos', 'storage.logs', 'storage.previews', 'storage.thumbnails', 'storage.torrents', 'storage.cache',
'storage.redundancy', 'storage.tmp', 'storage.streaming_playlists',
'log.level',