aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.js')
-rw-r--r--server/initializers/constants.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js
index ce9f8ad6c..dd4eff493 100644
--- a/server/initializers/constants.js
+++ b/server/initializers/constants.js
@@ -6,6 +6,8 @@ const path = require('path')
6// API version of our pod 6// API version of our pod
7const API_VERSION = 'v1' 7const API_VERSION = 'v1'
8 8
9const BCRYPT_SALT_SIZE = 10
10
9const CONFIG = { 11const CONFIG = {
10 DATABASE: { 12 DATABASE: {
11 DBNAME: 'peertube' + config.get('database.suffix'), 13 DBNAME: 'peertube' + config.get('database.suffix'),
@@ -115,6 +117,7 @@ if (isTestInstance() === true) {
115 117
116module.exports = { 118module.exports = {
117 API_VERSION: API_VERSION, 119 API_VERSION: API_VERSION,
120 BCRYPT_SALT_SIZE: BCRYPT_SALT_SIZE,
118 CONFIG: CONFIG, 121 CONFIG: CONFIG,
119 CONSTRAINTS_FIELDS: CONSTRAINTS_FIELDS, 122 CONSTRAINTS_FIELDS: CONSTRAINTS_FIELDS,
120 FRIEND_SCORE: FRIEND_SCORE, 123 FRIEND_SCORE: FRIEND_SCORE,