|
23 | 23 | # Determining which styles are critical is a relatively expensive operation; this option is |
24 | 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 | | - # NOTE: The "/handle/" path ensures Handle redirects work via SSR. The "/reload/" path ensures |
28 | | - # hard refreshes (e.g. after login) trigger SSR while fully reloading the page. |
29 | | - paths: [ '/home', '/items/', '/entities/', '/collections/', '/communities/', '/bitstream/', '/bitstreams/', '/handle/', '/reload/' ] |
| 26 | + # Patterns to be run as regexes against the path of the page to check if SSR is allowed. |
| 27 | + # If the path match any of the regexes it will be served directly in CSR. |
| 28 | + # By default, excludes community and collection browse, global browse, global search, community list, statistics and various administrative tools. |
| 29 | + excludePathPatterns: |
| 30 | + - pattern: "^/communities/[a-f0-9-]{36}/browse(/.*)?$", |
| 31 | + flag: "i" |
| 32 | + - pattern: "^/collections/[a-f0-9-]{36}/browse(/.*)?$" |
| 33 | + flag: "i" |
| 34 | + - pattern: "^/browse/" |
| 35 | + - pattern: "^/search$" |
| 36 | + - pattern: "^/community-list$" |
| 37 | + - pattern: "^/admin/" |
| 38 | + - pattern: "^/processes/?" |
| 39 | + - pattern: "^/notifications/" |
| 40 | + - pattern: "^/statistics/?" |
| 41 | + - pattern: "^/access-control/" |
| 42 | + - pattern: "^/health$" |
| 43 | + |
30 | 44 | # Whether to enable rendering of Search component on SSR. |
31 | 45 | # If set to true the component will be included in the HTML returned from the server side rendering. |
32 | 46 | # If set to false the component will not be included in the HTML returned from the server side rendering. |
@@ -453,6 +467,8 @@ info: |
453 | 467 | enableEndUserAgreement: true |
454 | 468 | enablePrivacyStatement: true |
455 | 469 | enableCOARNotifySupport: true |
| 470 | + # Whether to show the cookie consent popup and the cookie settings footer link or not. |
| 471 | + enableCookieConsentPopup: true |
456 | 472 |
|
457 | 473 | # Whether to enable Markdown (https://commonmark.org/) and MathJax (https://www.mathjax.org/) |
458 | 474 | # display in supported metadata fields. By default, only dc.description.abstract is supported. |
|
0 commit comments