I cannot find the answer, but is that normal, that during SSR I have urls like:
{
"id": 1,
"url": "/event/auth-link.component-AVZNHIWP.css.map",
"urlAfterRedirects": "/event/auth-link.component-AVZNHIWP.css.map",
"type": 1
}
after event there is a :eventSlug in my router file.
{
path: '',
pathMatch: 'full',
loadComponent: () => import('./events-list-page.component')
.then(c => c.EventsListPageComponent)
},
{
path: ':eventSlug',
children: [
{
path: '',
pathMatch: 'full',
loadComponent: () => import('../events/page/event-page.component')
.then(c => c.EventPageComponent)
},
]
},
...
}
Should I prevent my request and ignore eventSlugs which ends with .map, .js etc?
I am using angular 17, SSR.
Thank you!