0

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!

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.