Skip to content

Commit

Permalink
fix: Remove providers with interceptor (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
kilchenmann authored Oct 1, 2019
1 parent 4a28ea7 commit 982a939
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "knora-app",
"version": "1.6.1",
"version": "1.6.2",
"repository": {
"type": "git",
"url": "https://github.com/dasch-swiss/knora-app.git"
Expand Down
4 changes: 1 addition & 3 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,9 +177,7 @@ export function initializeApp(appInitService: AppInitService) {
{
provide: KuiCoreConfigToken,
useFactory: () => AppInitService.coreConfig
},
{ provide: HTTP_INTERCEPTORS, useClass: JwtInterceptor, multi: true },
{ provide: HTTP_INTERCEPTORS, useClass: WithCredentialsInterceptor, multi: true }
}
],
bootstrap: [AppComponent]
})
Expand Down
3 changes: 0 additions & 3 deletions src/config/config.dev.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"env": {
"name": "dev"
},
"ontologyIRI": "http://0.0.0.0:3333",
"apiURL": "http://0.0.0.0:3333",
"iiifURL": "http://0.0.0.0:1024",
Expand Down
3 changes: 0 additions & 3 deletions src/config/config.prod.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
{
"env": {
"name": "prod"
},
"ontologyIRI": "http://0.0.0.0:3333",
"apiURL": "http://0.0.0.0:3333",
"iiifURL": "http://0.0.0.0:1024",
Expand Down

0 comments on commit 982a939

Please sign in to comment.