2026-10-13 19:18:05 -05:00
|
|
|
import { provideHttpClient, withFetch, withInterceptors } from '@angular/common/http';
|
|
|
|
|
import { type ApplicationConfig, provideBrowserGlobalErrorListeners } from '@angular/core';
|
2026-10-13 19:11:05 -05:00
|
|
|
import { provideRouter } from '@angular/router';
|
2026-10-13 19:18:05 -05:00
|
|
|
import { authInterceptor } from './core/auth/auth.interceptor';
|
2026-10-13 19:11:05 -05:00
|
|
|
import { routes } from './app.routes';
|
|
|
|
|
|
|
|
|
|
export const appConfig: ApplicationConfig = {
|
2026-10-13 19:18:05 -05:00
|
|
|
providers: [
|
|
|
|
|
provideBrowserGlobalErrorListeners(),
|
|
|
|
|
provideRouter(routes),
|
|
|
|
|
provideHttpClient(withFetch(), withInterceptors([authInterceptor])),
|
|
|
|
|
],
|
2026-10-13 19:11:05 -05:00
|
|
|
};
|