Skip to content

Commit 4a39f33

Browse files
committed
Add to config.example.yml
1 parent 55573c5 commit 4a39f33

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

config/config.example.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,13 @@ ui:
1717
# Trust X-FORWARDED-* headers from proxies (default = true)
1818
useProxies: true
1919

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.
25+
inlineCriticalCss: true
26+
2027
# The REST API server settings
2128
# NOTE: these settings define which (publicly available) REST API to use. They are usually
2229
# 'synced' with the 'dspace.server.url' setting in your backend's local.cfg.

src/config/universal-config.interface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ export interface UniversalConfig extends Config {
1212
* this option can be disabled to boost server performance at the expense of
1313
* loading smoothness.
1414
*/
15-
inlineCriticalCss?;
15+
inlineCriticalCss?: boolean;
1616
}

0 commit comments

Comments
 (0)