Spaces:
Building
Building
Update flare-ui/src/main.ts
Browse files- flare-ui/src/main.ts +17 -17
flare-ui/src/main.ts
CHANGED
@@ -1,17 +1,17 @@
|
|
1 |
-
import { bootstrapApplication } from '@angular/platform-browser';
|
2 |
-
import { provideRouter } from '@angular/router';
|
3 |
-
import { provideHttpClient, withInterceptors } from '@angular/common/http';
|
4 |
-
import { provideAnimations } from '@angular/platform-browser/animations';
|
5 |
-
import { AppComponent } from './app/app.component';
|
6 |
-
import { routes } from './app/app.routes';
|
7 |
-
import { authInterceptor } from './app/interceptors/auth.interceptor';
|
8 |
-
|
9 |
-
bootstrapApplication(AppComponent, {
|
10 |
-
providers: [
|
11 |
-
provideRouter(routes),
|
12 |
-
provideHttpClient(
|
13 |
-
withInterceptors([authInterceptor])
|
14 |
-
),
|
15 |
-
provideAnimations()
|
16 |
-
]
|
17 |
-
});
|
|
|
1 |
+
import { bootstrapApplication } from '@angular/platform-browser';
|
2 |
+
import { provideRouter } from '@angular/router';
|
3 |
+
import { provideHttpClient, withInterceptors } from '@angular/common/http';
|
4 |
+
import { provideAnimations } from '@angular/platform-browser/animations';
|
5 |
+
import { AppComponent } from './app/app.component';
|
6 |
+
import { routes } from './app/app.routes';
|
7 |
+
import { authInterceptor } from './app/interceptors/auth.interceptor';
|
8 |
+
|
9 |
+
bootstrapApplication(AppComponent, {
|
10 |
+
providers: [
|
11 |
+
provideRouter(routes),
|
12 |
+
provideHttpClient(
|
13 |
+
withInterceptors([authInterceptor])
|
14 |
+
),
|
15 |
+
provideAnimations()
|
16 |
+
]
|
17 |
+
}).catch((err) => console.error(err));
|