diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-22 10:22:53 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-22 10:22:53 +0100 |
commit | 00b5556c182fa70dfca17c517488b8afae6257c9 (patch) | |
tree | 853ad8d85572b5b37b1956fea96a51fed211453f /server/initializers/constants.ts | |
parent | 6221f311de0eb8f2a9e7e4a77b8cb0ecbde6dfcd (diff) | |
download | PeerTube-00b5556c182fa70dfca17c517488b8afae6257c9.tar.gz PeerTube-00b5556c182fa70dfca17c517488b8afae6257c9.tar.zst PeerTube-00b5556c182fa70dfca17c517488b8afae6257c9.zip |
Add ability to add custom css/javascript
Diffstat (limited to 'server/initializers/constants.ts')
-rw-r--r-- | server/initializers/constants.ts | 6 |
1 files changed, 5 insertions, 1 deletions
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 = { | |||
158 | INSTANCE: { | 158 | INSTANCE: { |
159 | get NAME () { return config.get<string>('instance.name') }, | 159 | get NAME () { return config.get<string>('instance.name') }, |
160 | get DESCRIPTION () { return config.get<string>('instance.description') }, | 160 | get DESCRIPTION () { return config.get<string>('instance.description') }, |
161 | get TERMS () { return config.get<string>('instance.terms') } | 161 | get TERMS () { return config.get<string>('instance.terms') }, |
162 | CUSTOMIZATIONS: { | ||
163 | get JAVASCRIPT () { return config.get<string>('instance.customizations.javascript') }, | ||
164 | get CSS () { return config.get<string>('instance.customizations.css') } | ||
165 | } | ||
162 | } | 166 | } |
163 | } | 167 | } |
164 | 168 | ||