feat: add auto refresh token service
This commit is contained in:
@ -14,7 +14,8 @@ import {FocusNextDirective} from "@/directives/focus-next.directive";
|
||||
<app-footer/>`
|
||||
})
|
||||
export class AppComponent {
|
||||
constructor() {
|
||||
constructor(tokenRefreshService: TokenRefreshService) {
|
||||
registerLocaleData(localeRu);
|
||||
tokenRefreshService.startTokenRefresh();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user