fix: fix stupid ahh bug where u get logged out when doing fucking anything stupid fucking http interceptor
This commit is contained in:
parent
3b95725d88
commit
29a53ea781
4 changed files with 15 additions and 15 deletions
|
@ -5,7 +5,6 @@ import { FontAwesomeModule } from '@fortawesome/angular-fontawesome';
|
|||
import { routes } from './app.routes';
|
||||
import { provideHttpClient, withInterceptors } from '@angular/common/http';
|
||||
import { provideAnimationsAsync } from '@angular/platform-browser/animations/async';
|
||||
import { OAuthStorage, provideOAuthClient } from 'angular-oauth2-oidc';
|
||||
import { httpInterceptor } from '@shared/interceptor/http.interceptor';
|
||||
|
||||
export const appConfig: ApplicationConfig = {
|
||||
|
@ -15,10 +14,5 @@ export const appConfig: ApplicationConfig = {
|
|||
provideHttpClient(withInterceptors([httpInterceptor])),
|
||||
provideExperimentalZonelessChangeDetection(),
|
||||
provideAnimationsAsync(),
|
||||
provideOAuthClient(),
|
||||
{
|
||||
provide: OAuthStorage,
|
||||
useFactory: () => localStorage,
|
||||
},
|
||||
],
|
||||
};
|
||||
|
|
Reference in a new issue