ciyidogan commited on
Commit
8342522
·
verified ·
1 Parent(s): 220da6a

Create app.config.ts

Browse files
Files changed (1) hide show
  1. flare-ui/src/app/app.config.ts +14 -0
flare-ui/src/app/app.config.ts ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import { ApplicationConfig } from '@angular/core';
2
+ import { provideRouter } from '@angular/router';
3
+ import { routes } from './app.routes';
4
+ import { provideAnimations } from '@angular/platform-browser/animations';
5
+ import { provideHttpClient, withInterceptors } from '@angular/common/http';
6
+ import { authInterceptor } from './interceptors/auth.interceptor';
7
+
8
+ export const appConfig: ApplicationConfig = {
9
+ providers: [
10
+ provideRouter(routes),
11
+ provideAnimations(),
12
+ provideHttpClient(withInterceptors([authInterceptor]))
13
+ ]
14
+ };