Redirect fix
This commit is contained in:
parent
7bcda38897
commit
f0d0c39e2e
@ -5,7 +5,6 @@ import {FormLayoutDemoComponent} from './demo/view/formlayoutdemo.component';
|
||||
import {PanelsDemoComponent} from './demo/view/panelsdemo.component';
|
||||
import {OverlaysDemoComponent} from './demo/view/overlaysdemo.component';
|
||||
import {MediaDemoComponent} from './demo/view/mediademo.component';
|
||||
import {MenusDemoComponent} from './demo/view/menusdemo.component';
|
||||
import {MessagesDemoComponent} from './demo/view/messagesdemo.component';
|
||||
import {MiscDemoComponent} from './demo/view/miscdemo.component';
|
||||
import {EmptyDemoComponent} from './demo/view/emptydemo.component';
|
||||
@ -55,7 +54,7 @@ import {IconsDemoComponent} from './demo/view/iconsdemo.component';
|
||||
{path: 'documentation', component: DocumentationComponent}
|
||||
]
|
||||
},
|
||||
{path: '**', redirectTo: '/notfound'},
|
||||
{path: '**', redirectTo: 'pages/empty'},
|
||||
], {scrollPositionRestoration: 'enabled'})
|
||||
],
|
||||
exports: [RouterModule]
|
||||
|
@ -84,7 +84,7 @@ import {ToggleButtonModule} from 'primeng/togglebutton';
|
||||
import {ToolbarModule} from 'primeng/toolbar';
|
||||
import {TooltipModule} from 'primeng/tooltip';
|
||||
import {TreeModule} from 'primeng/tree';
|
||||
import {TreeSelect, TreeSelectModule} from 'primeng/treeselect';
|
||||
import {TreeSelectModule} from 'primeng/treeselect';
|
||||
import {TreeTableModule} from 'primeng/treetable';
|
||||
import {VirtualScrollerModule} from 'primeng/virtualscroller';
|
||||
import {BlockViewer} from './app.blockviewer.component'
|
||||
|
Loading…
Reference in New Issue
Block a user