4e41e8c603
- operator is more lightweight - auth and auth-guard service updated - anonymous in login form - improved login form - websocket retries to reconnect
20 lines
610 B
TypeScript
20 lines
610 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
import { LoginComponent } from './site/login/login.component';
|
|
|
|
/**
|
|
* Global app routing
|
|
*/
|
|
const routes: Routes = [
|
|
{ path: 'login', component: LoginComponent },
|
|
{ path: 'projector', loadChildren: './projector-container/projector-container.module#ProjectorContainerModule' },
|
|
{ path: '', loadChildren: './site/site.module#SiteModule' },
|
|
{ path: '**', redirectTo: '' }
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forRoot(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class AppRoutingModule {}
|