Skip to content

Commit 6ae5f98

Browse files
committed
In DSpace 8+ "environment.universal" is renamed "environment.ssr"
1 parent 791b022 commit 6ae5f98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ function clientSideRender(req, res) {
322322
);
323323

324324
// Replace REST URL with UI URL
325-
if (environment.universal.replaceRestUrl && REST_BASE_URL !== environment.rest.baseUrl) {
325+
if (environment.ssr.replaceRestUrl && REST_BASE_URL !== environment.rest.baseUrl) {
326326
html = html.replace(new RegExp(REST_BASE_URL, 'g'), environment.rest.baseUrl);
327327
}
328328

0 commit comments

Comments
 (0)