From cebf2df4d2c2e3c372f9e9fe52e1d13ae864f3cd Mon Sep 17 00:00:00 2001 From: Tim Donohue Date: Thu, 6 Oct 2022 12:20:37 -0500 Subject: [PATCH] Sync config.example.yml with default-app-config for 7.4 --- config/config.example.yml | 14 +++++++++++--- src/config/default-app-config.ts | 2 ++ 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/config/config.example.yml b/config/config.example.yml index a5980d18798..27400f00411 100644 --- a/config/config.example.yml +++ b/config/config.example.yml @@ -14,6 +14,8 @@ ui: rateLimiter: windowMs: 60000 # 1 minute max: 500 # limit each IP to 500 requests per windowMs + # Trust X-FORWARDED-* headers from proxies (default = true) + useProxies: true # The REST API server settings # NOTE: these settings define which (publicly available) REST API to use. They are usually @@ -135,9 +137,6 @@ languages: - code: lv label: Latviešu active: true - - code: hi - label: Hindi - active: true - code: hu label: Magyar active: true @@ -165,6 +164,9 @@ languages: - code: bn label: বাংলা active: true + - code: hi + label: हिंदी + active: true - code: el label: Ελληνικά active: true @@ -288,3 +290,9 @@ mediaViewer: info: enableEndUserAgreement: true enablePrivacyStatement: true + +# Whether to enable Markdown (https://commonmark.org/) and MathJax (https://www.mathjax.org/) +# display in supported metadata fields. By default, only dc.description.abstract is supported. +markdown: + enabled: false + mathjax: false \ No newline at end of file diff --git a/src/config/default-app-config.ts b/src/config/default-app-config.ts index c2329fb3da2..f489abc53b9 100644 --- a/src/config/default-app-config.ts +++ b/src/config/default-app-config.ts @@ -370,6 +370,8 @@ export class DefaultAppConfig implements AppConfig { enablePrivacyStatement: true }; + // Whether to enable Markdown (https://commonmark.org/) and MathJax (https://www.mathjax.org/) + // display in supported metadata fields. By default, only dc.description.abstract is supported. markdown: MarkdownConfig = { enabled: false, mathjax: false,