Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Update README.md (#179)
Browse files Browse the repository at this point in the history
I am guessing if we are running production version, we shouldn't be using HttpClientInMemoryWebApiModule.forRoot(InMemHeroService)? Unless I am not understanding this correctly.
  • Loading branch information
suhasdeshpande authored and wardbell committed Mar 9, 2018
1 parent 7488918 commit f673b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ CLI-based apps can exclude the provider in production builds like this:
imports: [
HttpClientModule,
environment.production ?
HttpClientInMemoryWebApiModule.forRoot(InMemHeroService) : []
[] : HttpClientInMemoryWebApiModule.forRoot(InMemHeroService)
...
]
```
Expand Down

0 comments on commit f673b1c

Please sign in to comment.