[DURACOM-344] Adapt SSR page filtering mechanism to a not allowed list

This commit is contained in:
FrancescoMolinaro
2025-04-22 16:16:27 +02:00
parent 9a24fb2b64
commit b1c5460bbb
6 changed files with 48 additions and 10 deletions

View File

@@ -39,9 +39,9 @@ export interface SSRConfig extends Config {
replaceRestUrl: boolean;
/**
* Paths to enable SSR for. Defaults to the home page and paths in the sitemap.
* Regexes to match url's path and check if SSR is disabled for it.
*/
paths: Array<string>;
excludePathRegexes: RegExp[];
/**
* Whether to enable rendering of search component on SSR