diff options
Diffstat (limited to 'server/initializers')
-rw-r--r-- | server/initializers/constants.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/server/initializers/constants.js b/server/initializers/constants.js index 0c080ccd2..90adbf406 100644 --- a/server/initializers/constants.js +++ b/server/initializers/constants.js | |||
@@ -134,6 +134,8 @@ const REMOTE_SCHEME = { | |||
134 | 134 | ||
135 | // --------------------------------------------------------------------------- | 135 | // --------------------------------------------------------------------------- |
136 | 136 | ||
137 | const PRIVATE_CERT_NAME = 'peertube.key.pem' | ||
138 | const PUBLIC_CERT_NAME = 'peertube.pub' | ||
137 | const SIGNATURE_ALGORITHM = 'RSA-SHA256' | 139 | const SIGNATURE_ALGORITHM = 'RSA-SHA256' |
138 | const SIGNATURE_ENCODING = 'hex' | 140 | const SIGNATURE_ENCODING = 'hex' |
139 | 141 | ||
@@ -189,13 +191,15 @@ module.exports = { | |||
189 | PAGINATION_COUNT_DEFAULT, | 191 | PAGINATION_COUNT_DEFAULT, |
190 | PODS_SCORE, | 192 | PODS_SCORE, |
191 | PREVIEWS_SIZE, | 193 | PREVIEWS_SIZE, |
194 | PRIVATE_CERT_NAME, | ||
195 | PUBLIC_CERT_NAME, | ||
192 | REMOTE_SCHEME, | 196 | REMOTE_SCHEME, |
193 | REQUEST_ENDPOINTS, | ||
194 | REQUEST_ENDPOINT_ACTIONS, | 197 | REQUEST_ENDPOINT_ACTIONS, |
198 | REQUEST_ENDPOINTS, | ||
195 | REQUESTS_IN_PARALLEL, | 199 | REQUESTS_IN_PARALLEL, |
196 | REQUESTS_INTERVAL, | 200 | REQUESTS_INTERVAL, |
197 | REQUESTS_LIMIT_PODS, | ||
198 | REQUESTS_LIMIT_PER_POD, | 201 | REQUESTS_LIMIT_PER_POD, |
202 | REQUESTS_LIMIT_PODS, | ||
199 | RETRY_REQUESTS, | 203 | RETRY_REQUESTS, |
200 | SEARCHABLE_COLUMNS, | 204 | SEARCHABLE_COLUMNS, |
201 | SIGNATURE_ALGORITHM, | 205 | SIGNATURE_ALGORITHM, |