Spaces:
Paused
Paused
| import { ApplicationConfig } from '@angular/core'; | |
| import { provideRouter } from '@angular/router'; | |
| import { routes } from './app.routes'; | |
| import { provideAnimations } from '@angular/platform-browser/animations'; | |
| import { provideHttpClient, withInterceptors } from '@angular/common/http'; | |
| import { authInterceptor } from './interceptors/auth.interceptor'; | |
| export const appConfig: ApplicationConfig = { | |
| providers: [ | |
| provideRouter(routes), | |
| provideAnimations(), | |
| provideHttpClient(withInterceptors([authInterceptor])) | |
| ] | |
| }; |