diff options
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index e844c8203..ba48399de 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts | |||
@@ -466,7 +466,12 @@ const ACCEPT_HEADERS = [ 'html', 'application/json' ].concat(ACTIVITY_PUB.POTENT | |||
466 | 466 | ||
467 | // --------------------------------------------------------------------------- | 467 | // --------------------------------------------------------------------------- |
468 | 468 | ||
469 | const OPENGRAPH_AND_OEMBED_COMMENT = '<!-- open graph and oembed tags -->' | 469 | const CUSTOM_HTML_TAG_COMMENTS = { |
470 | TITLE: '<!-- title tag -->', | ||
471 | DESCRIPTION: '<!-- description tag -->', | ||
472 | CUSTOM_CSS: '<!-- custom css tag -->', | ||
473 | OPENGRAPH_AND_OEMBED: '<!-- open graph and oembed tags -->' | ||
474 | } | ||
470 | 475 | ||
471 | // --------------------------------------------------------------------------- | 476 | // --------------------------------------------------------------------------- |
472 | 477 | ||
@@ -528,7 +533,7 @@ export { | |||
528 | JOB_ATTEMPTS, | 533 | JOB_ATTEMPTS, |
529 | LAST_MIGRATION_VERSION, | 534 | LAST_MIGRATION_VERSION, |
530 | OAUTH_LIFETIME, | 535 | OAUTH_LIFETIME, |
531 | OPENGRAPH_AND_OEMBED_COMMENT, | 536 | CUSTOM_HTML_TAG_COMMENTS, |
532 | BROADCAST_CONCURRENCY, | 537 | BROADCAST_CONCURRENCY, |
533 | PAGINATION_COUNT_DEFAULT, | 538 | PAGINATION_COUNT_DEFAULT, |
534 | ACTOR_FOLLOW_SCORE, | 539 | ACTOR_FOLLOW_SCORE, |