|
1 | 1 | # NOTE: will log all redux actions and transfers in console |
2 | 2 | debug: false |
3 | 3 |
|
4 | | -# Angular Universal server settings |
| 4 | +# Angular User Inteface settings |
5 | 5 | # NOTE: these settings define where Node.js will start your UI application. Therefore, these |
6 | 6 | # "ui" settings usually specify a localhost port/URL which is later proxied to a public URL (using Apache or similar) |
7 | 7 | ui: |
|
17 | 17 | # Trust X-FORWARDED-* headers from proxies (default = true) |
18 | 18 | useProxies: true |
19 | 19 |
|
20 | | -universal: |
21 | | - # Whether to inline "critical" styles into the server-side rendered HTML. |
22 | | - # Determining which styles are critical is a relatively expensive operation; |
23 | | - # this option can be disabled to boost server performance at the expense of |
24 | | - # loading smoothness. For improved SSR performance, DSpace defaults this to false (disabled). |
| 20 | +# Angular Server Side Rendering (SSR) settings |
| 21 | +ssr: |
| 22 | + # Whether to tell Angular to inline "critical" styles into the server-side rendered HTML. |
| 23 | + # Determining which styles are critical is a relatively expensive operation; this option is |
| 24 | + # disabled (false) by default to boost server performance at the expense of loading smoothness. |
25 | 25 | inlineCriticalCss: false |
| 26 | + # Path prefixes to enable SSR for. By default these are limited to paths of primary DSpace objects. |
| 27 | + paths: [ '/home', '/items/', '/entities/', '/collections/', '/communities/', '/bitstream/', '/bitstreams/', '/handle/' ] |
26 | 28 |
|
27 | 29 | # The REST API server settings |
28 | 30 | # NOTE: these settings define which (publicly available) REST API to use. They are usually |
@@ -396,3 +398,17 @@ vocabularies: |
396 | 398 | comcolSelectionSort: |
397 | 399 | sortField: 'dc.title' |
398 | 400 | sortDirection: 'ASC' |
| 401 | + |
| 402 | +# Live Region configuration |
| 403 | +# Live Region as defined by w3c, https://www.w3.org/TR/wai-aria-1.1/#terms: |
| 404 | +# Live regions are perceivable regions of a web page that are typically updated as a |
| 405 | +# result of an external event when user focus may be elsewhere. |
| 406 | +# |
| 407 | +# The DSpace live region is a component present at the bottom of all pages that is invisible by default, but is useful |
| 408 | +# for screen readers. Any message pushed to the live region will be announced by the screen reader. These messages |
| 409 | +# usually contain information about changes on the page that might not be in focus. |
| 410 | +liveRegion: |
| 411 | + # The duration after which messages disappear from the live region in milliseconds |
| 412 | + messageTimeOutDurationMs: 30000 |
| 413 | + # The visibility of the live region. Setting this to true is only useful for debugging purposes. |
| 414 | + isVisible: false |
0 commit comments