Skip to content

Commit d47baab

Browse files
[DURACOM-344] fix property name
1 parent c0e71a0 commit d47baab

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
@@ -242,7 +242,7 @@ export function app() {
242242
* The callback function to serve server side angular
243243
*/
244244
function ngApp(req, res) {
245-
if (environment.universal.preboot && req.method === 'GET' && (req.path === '/' || !isExcludedFromSsr(req.path, environment.universal.excludePathRegexes))) {
245+
if (environment.universal.preboot && req.method === 'GET' && (req.path === '/' || !isExcludedFromSsr(req.path, environment.universal.excludePathPatterns))) {
246246
// Render the page to user via SSR (server side rendering)
247247
serverSideRender(req, res);
248248
} else {

0 commit comments

Comments
 (0)