Don't encapsulate data for in memory services for development

This commit is contained in:
Jesse Lucas
2020-03-29 16:51:12 -04:00
parent c4979cf6d6
commit 65679892b0
+2 -1
View File
@@ -56,7 +56,8 @@ import { environment } from '../environments/environment';
cookieName: 'CSRF-Token-' + deviceID(),
}),
environment.production ?
[] : HttpClientInMemoryWebApiModule.forRoot(InMemoryConfigDataService, { delay: 200 }),
[] : HttpClientInMemoryWebApiModule.forRoot(InMemoryConfigDataService,
{ dataEncapsulation: false, delay: 200 }),
],
providers: [],
bootstrap: [AppComponent]