aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/constants.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 48d7b5b98..9c7c31a61 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -223,9 +223,10 @@ const FRIEND_SCORE = {
223} 223}
224 224
225const SERVER_ACCOUNT_NAME = 'peertube' 225const SERVER_ACCOUNT_NAME = 'peertube'
226const ACTIVITY_PUB_ACCEPT_HEADER = 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"'
227 226
228const ACTIVITY_PUB = { 227const ACTIVITY_PUB = {
228 ACCEPT_HEADER: 'application/ld+json; profile="https://www.w3.org/ns/activitystreams"',
229 PUBLIC: 'https://www.w3.org/ns/activitystreams#Public',
229 COLLECTION_ITEMS_PER_PAGE: 10, 230 COLLECTION_ITEMS_PER_PAGE: 10,
230 URL_MIME_TYPES: { 231 URL_MIME_TYPES: {
231 VIDEO: [ 'video/mp4', 'video/webm', 'video/ogg' ], // TODO: Merge with VIDEO_MIMETYPE_EXT 232 VIDEO: [ 'video/mp4', 'video/webm', 'video/ogg' ], // TODO: Merge with VIDEO_MIMETYPE_EXT
@@ -349,7 +350,6 @@ export {
349 SERVERS_SCORE, 350 SERVERS_SCORE,
350 PREVIEWS_SIZE, 351 PREVIEWS_SIZE,
351 REMOTE_SCHEME, 352 REMOTE_SCHEME,
352 ACTIVITY_PUB_ACCEPT_HEADER,
353 FOLLOW_STATES, 353 FOLLOW_STATES,
354 SEARCHABLE_COLUMNS, 354 SEARCHABLE_COLUMNS,
355 SERVER_ACCOUNT_NAME, 355 SERVER_ACCOUNT_NAME,