Skip to content

Commit

Permalink
fx
Browse files Browse the repository at this point in the history
  • Loading branch information
timadevelop committed Jul 7, 2019
1 parent 4014468 commit 1a47f3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"compile:server": "webpack --config webpack.server.config.js --progress --colors",
"serve:ssr": "node dist/server",
"build:ssr": "npm run build:client-and-server-bundles && npm run compile:server",
"build:client-and-server-bundles": "ng build --aot --prod --sourceMap=true && ng run saasWebClient:server:production"
"build:client-and-server-bundles": "ng build --aot --prod && ng run saasWebClient:server:production"
},
"private": true,
"dependencies": {
Expand Down
4 changes: 1 addition & 3 deletions src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule, PreloadAllModules } from '@angular/router';
import { Routes, RouterModule } from '@angular/router';
import { ComposeMessageComponent } from './app-components/compose-message/compose-message.component';
import { AuthGuard } from './modules/auth/auth.guard';
import { PageNotFoundComponent } from './core/components/page-not-found/page-not-found.component';
Expand Down Expand Up @@ -40,9 +40,7 @@ const routes: Routes = [
imports: [RouterModule.forRoot(routes, {
scrollPositionRestoration: 'enabled',
anchorScrolling: 'enabled',
preloadingStrategy: PreloadAllModules,
initialNavigation: 'enabled'
// initialNavigation: 'enabled'
})],
exports: [RouterModule]
})
Expand Down

0 comments on commit 1a47f3d

Please sign in to comment.