Skip to content

Commit d118496

Browse files
committed
[DURACOM-288] Add missing settings to config.example.yml
1 parent cb5deb6 commit d118496

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

config/config.example.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,19 @@ universal:
3636
# If set to false the component will not be included in the HTML returned from the server side rendering.
3737
enableBrowseComponent: false
3838

39+
# Enable state transfer from the server-side application to the client-side application.
40+
# Defaults to true.
41+
# Note: When using an external application cache layer, it's recommended not to transfer the state to avoid caching it.
42+
# Disabling it ensures that dynamic state information is not inadvertently cached, which can improve security and
43+
# ensure that users always use the most up-to-date state.
44+
transferState: boolean;
45+
46+
# When a different REST base URL is used for the server-side application, the generated state contains references to
47+
# REST resources with the internal URL configured, so it is not transferred to the client application, by default.
48+
# Enabling this setting transfers the state to the client application and replaces internal URLs with the public
49+
# URLs used by the client application.
50+
replaceRestUrl: boolean;
51+
3952
# The REST API server settings
4053
# NOTE: these settings define which (publicly available) REST API to use. They are usually
4154
# 'synced' with the 'dspace.server.url' setting in your backend's local.cfg.
@@ -45,6 +58,9 @@ rest:
4558
port: 443
4659
# NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
4760
nameSpace: /server
61+
# Provide a different REST url to be used during SSR execution. It must contain the whole url including protocol, server port and
62+
# server namespace (uncomment to use it).
63+
#ssrBaseUrl: http://localhost:8080/server
4864

4965
# Caching settings
5066
cache:

0 commit comments

Comments
 (0)