aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-14 17:31:26 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:51 +0100
commit350e31d6b64e4973dfa5e9f7b46841cb09aeb1ad (patch)
treef4191f3c04a5230fcf8ca3d6ca3248643fc4151d /server/initializers/constants.ts
parente34c85e527100c0b5c44567bd951e95be41b8d7e (diff)
downloadPeerTube-350e31d6b64e4973dfa5e9f7b46841cb09aeb1ad.tar.gz
PeerTube-350e31d6b64e4973dfa5e9f7b46841cb09aeb1ad.tar.zst
PeerTube-350e31d6b64e4973dfa5e9f7b46841cb09aeb1ad.zip
Follow works
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts5
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
229const SERVER_ACCOUNT_NAME = 'peertube'
230const ACTIVITY_PUB_ACCEPT_HEADER = 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'
231
229const ACTIVITY_PUB = { 232const 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,