feat: add auto refresh token service

This commit is contained in:
2024-07-02 00:52:47 +03:00
parent ce5508fe7f
commit 0e4b57af51
2 changed files with 74 additions and 1 deletions

View File

@ -14,7 +14,8 @@ import {FocusNextDirective} from "@/directives/focus-next.directive";
<app-footer/>`
})
export class AppComponent {
constructor() {
constructor(tokenRefreshService: TokenRefreshService) {
registerLocaleData(localeRu);
tokenRefreshService.startTokenRefresh();
}
}