Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
arsnova-lite
Manage
Activity
Members
Labels
Plan
Issues
24
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
arsnova-lite
Commits
03fc5ce1
Verified
Commit
03fc5ce1
authored
7 years ago
by
Lukas Maximilian Kimpel
Browse files
Options
Downloads
Patches
Plain Diff
Make angular use http interceptor
parent
fcbcff99
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!74
API BASE BRANCH
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app/app.module.ts
+7
-2
7 additions, 2 deletions
src/app/app.module.ts
with
7 additions
and
2 deletions
src/app/app.module.ts
+
7
−
2
View file @
03fc5ce1
...
...
@@ -48,8 +48,7 @@ import {
MatTooltipModule
}
from
'
@angular/material
'
;
import
{
ContentAnswersComponent
}
from
'
./content-answers/content-answers.component
'
;
import
{
HttpClientModule
}
from
'
@angular/common/http
'
;
import
{
InMemoryDataService
}
from
'
./in-memory-data.service
'
;
import
{
HTTP_INTERCEPTORS
,
HttpClientModule
}
from
'
@angular/common/http
'
;
import
{
RoomComponent
}
from
'
./room/room.component
'
;
import
{
RoomCreationComponent
}
from
'
./room-creation/room-creation.component
'
;
import
{
LoginScreenComponent
}
from
'
./login-screen/login-screen.component
'
;
...
...
@@ -80,6 +79,7 @@ import { AddContentComponent } from './add-content/add-content.component';
import
{
ParticipantContentCarouselPageComponent
}
from
'
./participant-content-carousel-page/participant-content-carousel-page.component
'
;
import
{
ParticipantTextContentComponent
}
from
'
./participant-text-content/participant-text-content.component
'
;
import
{
CreatorTextContentComponent
}
from
'
./creator-text-content/creator-text-content.component
'
;
import
{
AuthenticationInterceptor
}
from
'
./authentication.interceptor
'
;
@
NgModule
({
declarations
:
[
...
...
@@ -164,6 +164,11 @@ import { CreatorTextContentComponent } from './creator-text-content/creator-text
HttpClientModule
],
providers
:
[
{
provide
:
HTTP_INTERCEPTORS
,
useClass
:
AuthenticationInterceptor
,
multi
:
true
},
NotificationService
,
AuthenticationService
,
AuthenticationGuard
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment