Commit 9f9f1699 authored by liuzheng712's avatar liuzheng712

fit for production

parent aeb8b86f
......@@ -5,6 +5,7 @@ import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {WelcomeComponent} from './welcome.component';
import {PageNotFoundComponent} from './not-found.component';
import {environment} from '../environments/environment';
const appRoutes: Routes = [
// { path: 'crisis-center', component: CrisisListComponent },
......@@ -17,7 +18,7 @@ const appRoutes: Routes = [
imports: [
RouterModule.forRoot(
appRoutes,
{enableTracing: true} // <-- debugging purposes only
{enableTracing: !environment.production} // <-- debugging purposes only
)
],
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