'Whenever I refresh page its path copy again and again angular routing issue

Whenever I go to my landing page and if I refresh it then it add one more path to the landing page any solution you can refer images for more information

const appRoutes:Routes = [
    {
        path:'',
        redirectTo:'DiscussionRoom',
        pathMatch:'full'
    },
    {
        path:'DiscussionRoom',
        loadChildren:()=>import('./modules/discussion/discussion.module').then(m=>m.DiscussionModule)
    }
]

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source