aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/main.ts')
-rw-r--r--client/src/main.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/client/src/main.ts b/client/src/main.ts
index 41fc6e0c2..7c058e12f 100644
--- a/client/src/main.ts
+++ b/client/src/main.ts
@@ -1,4 +1,5 @@
1import { enableProdMode, provide } from '@angular/core'; 1import { enableProdMode, provide } from '@angular/core';
2import { disableDeprecatedForms, provideForms } from '@angular/forms';
2import { 3import {
3 HTTP_PROVIDERS, 4 HTTP_PROVIDERS,
4 RequestOptions, 5 RequestOptions,
@@ -23,6 +24,11 @@ bootstrap(AppComponent, [
23 }, 24 },
24 deps: [ XHRBackend, RequestOptions, AuthService ] 25 deps: [ XHRBackend, RequestOptions, AuthService ]
25 }), 26 }),
27
26 AuthService, 28 AuthService,
27 provideRouter(routes) 29
30 provideRouter(routes),
31
32 disableDeprecatedForms(),
33 provideForms()
28]); 34]);