aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-01-17 21:42:47 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-01-17 21:42:47 +0100
commit15103f11ec54989a0dee7fc33daa458ecb116fe4 (patch)
treeb25f8ee33f32ccd61df46afc27a2a4628f9f0be5 /server/initializers/constants.js
parent1e4b0080ff1b4e802f71ec1f4cbf8cbcc70cdcbd (diff)
downloadPeerTube-15103f11ec54989a0dee7fc33daa458ecb116fe4.tar.gz
PeerTube-15103f11ec54989a0dee7fc33daa458ecb116fe4.tar.zst
PeerTube-15103f11ec54989a0dee7fc33daa458ecb116fe4.zip
Server: paths refractoring
Diffstat (limited to 'server/initializers/constants.js')
-rw-r--r--server/initializers/constants.js8
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
137const PRIVATE_CERT_NAME = 'peertube.key.pem'
138const PUBLIC_CERT_NAME = 'peertube.pub'
137const SIGNATURE_ALGORITHM = 'RSA-SHA256' 139const SIGNATURE_ALGORITHM = 'RSA-SHA256'
138const SIGNATURE_ENCODING = 'hex' 140const 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,