admin管理员组

文章数量:1404927

I cannot find the answer, but is that normal, that during SSR I have urls like:

{
    "id": 1,
    "url": "/event/auth-linkponent-AVZNHIWP.css.map",
    "urlAfterRedirects": "/event/auth-linkponent-AVZNHIWP.css.map",
    "type": 1
}

after event there is a :eventSlug in my router file.

{
        path: '',
        pathMatch: 'full',
        loadComponent: () => import('./events-list-pageponent')
            .then(c => c.EventsListPageComponent)
    },
    {
        path: ':eventSlug',
        children: [
            {
                path: '',
                pathMatch: 'full',
                loadComponent: () => import('../events/page/event-pageponent')
                    .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!

本文标签: