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.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/client/src/main.ts b/client/src/main.ts
index 76b3f498a..f9c1d50b8 100644
--- a/client/src/main.ts
+++ b/client/src/main.ts
@@ -1,10 +1,12 @@
1import { enableProdMode } from '@angular/core'; 1import { enableProdMode } from '@angular/core';
2import { bootstrap } from '@angular/platform-browser-dynamic'; 2import { bootstrap } from '@angular/platform-browser-dynamic';
3import { provideRouter } from '@angular/router';
3 4
4import { AppComponent } from './app/app.component'; 5import { AppComponent } from './app/app.component';
6import { routes } from './app/app.routes';
5 7
6if (process.env.ENV === 'production') { 8if (process.env.ENV === 'production') {
7 enableProdMode(); 9 enableProdMode();
8} 10}
9 11
10bootstrap(AppComponent); 12bootstrap(AppComponent, [ provideRouter(routes) ]);