Spaces:
Building
Building
Create app.config.ts
Browse files
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 |
+
};
|