Commit 9f9f1699 authored by liuzheng712's avatar liuzheng712

fit for production

parent aeb8b86f
...@@ -5,6 +5,7 @@ import {NgModule} from '@angular/core'; ...@@ -5,6 +5,7 @@ import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router'; import {RouterModule, Routes} from '@angular/router';
import {WelcomeComponent} from './welcome.component'; import {WelcomeComponent} from './welcome.component';
import {PageNotFoundComponent} from './not-found.component'; import {PageNotFoundComponent} from './not-found.component';
import {environment} from '../environments/environment';
const appRoutes: Routes = [ const appRoutes: Routes = [
// { path: 'crisis-center', component: CrisisListComponent }, // { path: 'crisis-center', component: CrisisListComponent },
...@@ -17,7 +18,7 @@ const appRoutes: Routes = [ ...@@ -17,7 +18,7 @@ const appRoutes: Routes = [
imports: [ imports: [
RouterModule.forRoot( RouterModule.forRoot(
appRoutes, appRoutes,
{enableTracing: true} // <-- debugging purposes only {enableTracing: !environment.production} // <-- debugging purposes only
) )
], ],
exports: [ exports: [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment