aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index cd4d4e847..93ccb7da8 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -18,8 +18,8 @@ const LAST_MIGRATION_VERSION = 400
18 18
19// --------------------------------------------------------------------------- 19// ---------------------------------------------------------------------------
20 20
21// API version
22const API_VERSION = 'v1' 21const API_VERSION = 'v1'
22const PEERTUBE_VERSION = process.env.npm_package_version || 'unknown'
23 23
24const PAGINATION = { 24const PAGINATION = {
25 COUNT: { 25 COUNT: {
@@ -645,6 +645,7 @@ registerConfigChangedHandler(() => {
645export { 645export {
646 WEBSERVER, 646 WEBSERVER,
647 API_VERSION, 647 API_VERSION,
648 PEERTUBE_VERSION,
648 HLS_REDUNDANCY_DIRECTORY, 649 HLS_REDUNDANCY_DIRECTORY,
649 P2P_MEDIA_LOADER_PEER_VERSION, 650 P2P_MEDIA_LOADER_PEER_VERSION,
650 AVATARS_SIZE, 651 AVATARS_SIZE,