Skip to content

Commit f63131e

Browse files
committed
In DSpace 8+ "environment.universal" is renamed "environment.ssr"
1 parent 938dd89 commit f63131e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)