mirror of
https://github.com/MikroWizard/mikrofront.git
synced 2026-05-15 08:11:29 +00:00
Better License Error when pro License expired
This commit is contained in:
parent
7e3469a5da
commit
df1223b9e2
21 changed files with 321 additions and 8 deletions
|
|
@ -8,7 +8,9 @@ import Aura from '@primeuix/themes/aura';
|
|||
import { ReactiveFormsModule,FormsModule } from '@angular/forms';
|
||||
|
||||
import { NgScrollbarModule } from 'ngx-scrollbar';
|
||||
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
|
||||
import { provideHttpClient, withInterceptorsFromDi, HTTP_INTERCEPTORS } from '@angular/common/http';
|
||||
import { LicenseService } from './providers/license.service';
|
||||
import { LicenseInterceptor } from './providers/license-interceptor.service';
|
||||
|
||||
// Import routing module
|
||||
import { AppRoutingModule } from './app-routing.module';
|
||||
|
|
@ -113,6 +115,12 @@ export function loginStatusProviderFactory(provider: loginChecker) {
|
|||
multi: true,
|
||||
},
|
||||
Title,
|
||||
LicenseService,
|
||||
{
|
||||
provide: HTTP_INTERCEPTORS,
|
||||
useClass: LicenseInterceptor,
|
||||
multi: true
|
||||
},
|
||||
provideHttpClient(withInterceptorsFromDi())
|
||||
] })
|
||||
export class AppModule {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue