Twitch login, TTS Login, and basic policies ui.

This commit is contained in:
Tom
2024-10-17 08:48:15 +00:00
parent f2133bbc0e
commit 89d944cd6e
48 changed files with 1443 additions and 504 deletions

View File

@ -1,9 +1,23 @@
import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';
import { provideRouter } from '@angular/router';
import { provideOAuthClient } from 'angular-oauth2-oidc';
import { HttpHandlerFn, HttpRequest, provideHttpClient, withInterceptors } from '@angular/common/http';
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
import { routes } from './app.routes';
import { provideClientHydration } from '@angular/platform-browser';
export const appConfig: ApplicationConfig = {
providers: [provideZoneChangeDetection({ eventCoalescing: true }), provideRouter(routes), provideClientHydration()]
};
providers: [
provideZoneChangeDetection({ eventCoalescing: true }),
provideRouter(routes),
provideHttpClient(
withInterceptors([(req: HttpRequest<unknown>, next: HttpHandlerFn) => {
console.log(req.url);
return next(req);
}])
),
provideOAuthClient(),
provideClientHydration(), provideAnimationsAsync()
]
};