diff options
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index e27d011fa..4a49c1ab3 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -226,6 +226,9 @@ const FRIEND_SCORE = { | |||
226 | MAX: 1000 | 226 | MAX: 1000 |
227 | } | 227 | } |
228 | 228 | ||
229 | const SERVER_ACCOUNT_NAME = 'peertube' | ||
230 | const ACTIVITY_PUB_ACCEPT_HEADER = 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"' | ||
231 | |||
229 | const ACTIVITY_PUB = { | 232 | const ACTIVITY_PUB = { |
230 | COLLECTION_ITEMS_PER_PAGE: 10, | 233 | COLLECTION_ITEMS_PER_PAGE: 10, |
231 | VIDEO_URL_MIME_TYPES: [ | 234 | VIDEO_URL_MIME_TYPES: [ |
@@ -352,8 +355,10 @@ export { | |||
352 | PODS_SCORE, | 355 | PODS_SCORE, |
353 | PREVIEWS_SIZE, | 356 | PREVIEWS_SIZE, |
354 | REMOTE_SCHEME, | 357 | REMOTE_SCHEME, |
358 | ACTIVITY_PUB_ACCEPT_HEADER, | ||
355 | FOLLOW_STATES, | 359 | FOLLOW_STATES, |
356 | SEARCHABLE_COLUMNS, | 360 | SEARCHABLE_COLUMNS, |
361 | SERVER_ACCOUNT_NAME, | ||
357 | PRIVATE_RSA_KEY_SIZE, | 362 | PRIVATE_RSA_KEY_SIZE, |
358 | SORTABLE_COLUMNS, | 363 | SORTABLE_COLUMNS, |
359 | STATIC_MAX_AGE, | 364 | STATIC_MAX_AGE, |