Skip to content

Commit cebf2df

Browse files
committed
Sync config.example.yml with default-app-config for 7.4
1 parent 5728f35 commit cebf2df

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

config/config.example.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ ui:
1414
rateLimiter:
1515
windowMs: 60000 # 1 minute
1616
max: 500 # limit each IP to 500 requests per windowMs
17+
# Trust X-FORWARDED-* headers from proxies (default = true)
18+
useProxies: true
1719

1820
# The REST API server settings
1921
# NOTE: these settings define which (publicly available) REST API to use. They are usually
@@ -135,9 +137,6 @@ languages:
135137
- code: lv
136138
label: Latviešu
137139
active: true
138-
- code: hi
139-
label: Hindi
140-
active: true
141140
- code: hu
142141
label: Magyar
143142
active: true
@@ -165,6 +164,9 @@ languages:
165164
- code: bn
166165
label: বাংলা
167166
active: true
167+
- code: hi
168+
label: हिंदी
169+
active: true
168170
- code: el
169171
label: Ελληνικά
170172
active: true
@@ -288,3 +290,9 @@ mediaViewer:
288290
info:
289291
enableEndUserAgreement: true
290292
enablePrivacyStatement: true
293+
294+
# Whether to enable Markdown (https://commonmark.org/) and MathJax (https://www.mathjax.org/)
295+
# display in supported metadata fields. By default, only dc.description.abstract is supported.
296+
markdown:
297+
enabled: false
298+
mathjax: false

src/config/default-app-config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,8 @@ export class DefaultAppConfig implements AppConfig {
370370
enablePrivacyStatement: true
371371
};
372372

373+
// Whether to enable Markdown (https://commonmark.org/) and MathJax (https://www.mathjax.org/)
374+
// display in supported metadata fields. By default, only dc.description.abstract is supported.
373375
markdown: MarkdownConfig = {
374376
enabled: false,
375377
mathjax: false,

0 commit comments

Comments
 (0)