| 1234567891011121314 |
- import { provideHttpClient, withInterceptors } from '@angular/common/http';
- import { ApplicationConfig, provideZoneChangeDetection } from '@angular/core';
- import { provideRouter, withPreloading } from '@angular/router';
- import { AdminMenuPreloadingStrategy } from './admin-menu-preloading.strategy';
- import { adminRequestActivityInterceptor } from './admin-request-activity.interceptor';
- import { routes } from './app.routes';
- export const appConfig: ApplicationConfig = {
- providers: [
- provideZoneChangeDetection({ eventCoalescing: true }),
- provideHttpClient(withInterceptors([adminRequestActivityInterceptor])),
- provideRouter(routes, withPreloading(AdminMenuPreloadingStrategy)),
- ],
- };
|