Skip to content

Commit

Permalink
Add to config.example.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ybnd committed Mar 22, 2024
1 parent 55573c5 commit 4a39f33
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions config/config.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ ui:
# Trust X-FORWARDED-* headers from proxies (default = 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
# 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.
Expand Down
2 changes: 1 addition & 1 deletion src/config/universal-config.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export interface UniversalConfig extends Config {
* this option can be disabled to boost server performance at the expense of
* loading smoothness.
*/
inlineCriticalCss?;
inlineCriticalCss?: boolean;
}

0 comments on commit 4a39f33

Please sign in to comment.