Restrict SSR to paths in the sitemap

Because Angular SSR is not very efficient, after discussion with
the Google Scholar team we realized a compromise would be to only
use SSR for pages in the DSpace sitemap (and the home page).
This commit is contained in:
Alan Orth
2025-01-22 11:02:35 +03:00
parent b11543c3a5
commit b839252ed7
6 changed files with 11 additions and 1 deletions

View File

@@ -12,6 +12,7 @@ export const environment: BuildConfig = {
async: true,
time: false,
inlineCriticalCss: false,
paths: [ '/home', '/items/', '/entities/', '/collections/', '/communities/', '/bitstream/', '/bitstreams/', '/handle/' ],
},
// Angular Universal server settings.