From 00b5556c182fa70dfca17c517488b8afae6257c9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 22 Feb 2018 10:22:53 +0100 Subject: Add ability to add custom css/javascript --- server/initializers/constants.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'server/initializers') diff --git a/server/initializers/constants.ts b/server/initializers/constants.ts index ac001bbc7..328a3e70a 100644 --- a/server/initializers/constants.ts +++ b/server/initializers/constants.ts @@ -158,7 +158,11 @@ const CONFIG = { INSTANCE: { get NAME () { return config.get('instance.name') }, get DESCRIPTION () { return config.get('instance.description') }, - get TERMS () { return config.get('instance.terms') } + get TERMS () { return config.get('instance.terms') }, + CUSTOMIZATIONS: { + get JAVASCRIPT () { return config.get('instance.customizations.javascript') }, + get CSS () { return config.get('instance.customizations.css') } + } } } -- cgit v1.2.3