aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/constants.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-10 14:06:19 +0200
committerChocobozzz <chocobozzz@cpy.re>2019-07-24 10:58:16 +0200
commitffb321bedca46d6987c7b31dd58e5dea96ea2ea2 (patch)
tree019f0427c1860ae0b00694c43f1be8d5fe1aa995 /server/initializers/constants.ts
parent7cd4d2ba10106c10602c86f74f55743ded588896 (diff)
downloadPeerTube-ffb321bedca46d6987c7b31dd58e5dea96ea2ea2.tar.gz
PeerTube-ffb321bedca46d6987c7b31dd58e5dea96ea2ea2.tar.zst
PeerTube-ffb321bedca46d6987c7b31dd58e5dea96ea2ea2.zip
WIP plugins: load theme on client side
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r--server/initializers/constants.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts
index 9d61ed537..e5f88b71d 100644
--- a/server/initializers/constants.ts
+++ b/server/initializers/constants.ts
@@ -585,7 +585,8 @@ const P2P_MEDIA_LOADER_PEER_VERSION = 2
585const PLUGIN_GLOBAL_CSS_FILE_NAME = 'plugins-global.css' 585const PLUGIN_GLOBAL_CSS_FILE_NAME = 'plugins-global.css'
586const PLUGIN_GLOBAL_CSS_PATH = join(CONFIG.STORAGE.TMP_DIR, PLUGIN_GLOBAL_CSS_FILE_NAME) 586const PLUGIN_GLOBAL_CSS_PATH = join(CONFIG.STORAGE.TMP_DIR, PLUGIN_GLOBAL_CSS_FILE_NAME)
587 587
588const DEFAULT_THEME = 'default' 588const DEFAULT_THEME_NAME = 'default'
589const DEFAULT_USER_THEME_NAME = 'instance-default'
589 590
590// --------------------------------------------------------------------------- 591// ---------------------------------------------------------------------------
591 592
@@ -660,6 +661,7 @@ export {
660 PREVIEWS_SIZE, 661 PREVIEWS_SIZE,
661 REMOTE_SCHEME, 662 REMOTE_SCHEME,
662 FOLLOW_STATES, 663 FOLLOW_STATES,
664 DEFAULT_USER_THEME_NAME,
663 SERVER_ACTOR_NAME, 665 SERVER_ACTOR_NAME,
664 PLUGIN_GLOBAL_CSS_FILE_NAME, 666 PLUGIN_GLOBAL_CSS_FILE_NAME,
665 PLUGIN_GLOBAL_CSS_PATH, 667 PLUGIN_GLOBAL_CSS_PATH,
@@ -669,7 +671,7 @@ export {
669 HLS_STREAMING_PLAYLIST_DIRECTORY, 671 HLS_STREAMING_PLAYLIST_DIRECTORY,
670 FEEDS, 672 FEEDS,
671 JOB_TTL, 673 JOB_TTL,
672 DEFAULT_THEME, 674 DEFAULT_THEME_NAME,
673 NSFW_POLICY_TYPES, 675 NSFW_POLICY_TYPES,
674 STATIC_MAX_AGE, 676 STATIC_MAX_AGE,
675 STATIC_PATHS, 677 STATIC_PATHS,