Add to config.example.yml

(cherry picked from commit 4a39f33006)
This commit is contained in:
Yury Bondarenko
2024-03-22 16:23:09 +01:00
committed by github-actions[bot]
parent 3b11ac517c
commit fd10fbe2a8
2 changed files with 8 additions and 1 deletions

View File

@@ -17,6 +17,13 @@ ui:
# Trust X-FORWARDED-* headers from proxies (default = true) # Trust X-FORWARDED-* headers from proxies (default = true)
useProxies: true useProxies: true
universal:
# Whether to inline "critical" styles into the server-side rendered HTML.
# Determining which styles are critical is a relatively expensive operation;
# this option can be disabled to boost server performance at the expense of
# loading smoothness.
inlineCriticalCss: true
# The REST API server settings # The REST API server settings
# NOTE: these settings define which (publicly available) REST API to use. They are usually # NOTE: these settings define which (publicly available) REST API to use. They are usually
# 'synced' with the 'dspace.server.url' setting in your backend's local.cfg. # 'synced' with the 'dspace.server.url' setting in your backend's local.cfg.

View File

@@ -12,5 +12,5 @@ export interface UniversalConfig extends Config {
* this option can be disabled to boost server performance at the expense of * this option can be disabled to boost server performance at the expense of
* loading smoothness. * loading smoothness.
*/ */
inlineCriticalCss?; inlineCriticalCss?: boolean;
} }