Twitch login, TTS Login, and basic policies ui.
This commit is contained in:
@@ -1,3 +1,27 @@
|
||||
import { Routes } from '@angular/router';
|
||||
import { PolicyComponent } from './policy/policy.component';
|
||||
import { AuthGuard } from './shared/auth/auth.guard';
|
||||
import { LoginComponent } from './login/login.component';
|
||||
import { TtsLoginComponent } from './tts-login/tts-login.component';
|
||||
import { TwitchAuthCallbackComponent } from './twitch-auth-callback/twitch-auth-callback.component';
|
||||
|
||||
export const routes: Routes = [];
|
||||
export const routes: Routes = [
|
||||
{
|
||||
path: 'policies',
|
||||
component: PolicyComponent,
|
||||
canActivate: [AuthGuard],
|
||||
},
|
||||
{
|
||||
path: 'login',
|
||||
component: LoginComponent,
|
||||
},
|
||||
{
|
||||
path: 'tts-login',
|
||||
component: TtsLoginComponent,
|
||||
canActivate: [AuthGuard],
|
||||
},
|
||||
{
|
||||
path: 'auth',
|
||||
component: TwitchAuthCallbackComponent
|
||||
}
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user