We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0e71a0 commit d47baabCopy full SHA for d47baab
1 file changed
server.ts
@@ -242,7 +242,7 @@ export function app() {
242
* The callback function to serve server side angular
243
*/
244
function ngApp(req, res) {
245
- if (environment.universal.preboot && req.method === 'GET' && (req.path === '/' || !isExcludedFromSsr(req.path, environment.universal.excludePathRegexes))) {
+ if (environment.universal.preboot && req.method === 'GET' && (req.path === '/' || !isExcludedFromSsr(req.path, environment.universal.excludePathPatterns))) {
246
// Render the page to user via SSR (server side rendering)
247
serverSideRender(req, res);
248
} else {
0 commit comments