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

Commit f673b1c

Browse files
suhasdeshpandewardbell
authored andcommitted
Update README.md (#179)
I am guessing if we are running production version, we shouldn't be using HttpClientInMemoryWebApiModule.forRoot(InMemHeroService)? Unless I am not understanding this correctly.
1 parent 7488918 commit f673b1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ CLI-based apps can exclude the provider in production builds like this:
147147
imports: [
148148
HttpClientModule,
149149
environment.production ?
150-
HttpClientInMemoryWebApiModule.forRoot(InMemHeroService) : []
150+
[] : HttpClientInMemoryWebApiModule.forRoot(InMemHeroService)
151151
...
152152
]
153153
```

0 commit comments

Comments
 (0)