]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/initializers/config.ts
Fill documentation with required secret conf
[github/Chocobozzz/PeerTube.git] / server / initializers / config.ts
index 287bf6f6df69c1efced967133d0d58a920ac1ed0..a5a0d4e46dd385b5af1a6ced51ac2c2c879184f1 100644 (file)
@@ -20,6 +20,9 @@ const CONFIG = {
     PORT: config.get<number>('listen.port'),
     HOSTNAME: config.get<string>('listen.hostname')
   },
+  SECRETS: {
+    PEERTUBE: config.get<string>('secrets.peertube')
+  },
   DATABASE: {
     DBNAME: config.has('database.name') ? config.get<string>('database.name') : 'peertube' + config.get<string>('database.suffix'),
     HOSTNAME: config.get<string>('database.hostname'),