Skip to content

Commit

Permalink
Merge pull request DSpace#1888 from tdonohue/fix_examples
Browse files Browse the repository at this point in the history
Sync config.example.yml with default-app-config for 7.4
  • Loading branch information
tdonohue authored Oct 6, 2022
2 parents 5728f35 + cebf2df commit a2cb60a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
14 changes: 11 additions & 3 deletions config/config.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -135,9 +137,6 @@ languages:
- code: lv
label: Latviešu
active: true
- code: hi
label: Hindi
active: true
- code: hu
label: Magyar
active: true
Expand Down Expand Up @@ -165,6 +164,9 @@ languages:
- code: bn
label: বাংলা
active: true
- code: hi
label: हिंदी
active: true
- code: el
label: Ελληνικά
active: true
Expand Down Expand Up @@ -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
2 changes: 2 additions & 0 deletions src/config/default-app-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a2cb60a

Please sign in to comment.