20 lines
650 B
TypeScript
20 lines
650 B
TypeScript
import {bootstrapApplication} from '@angular/platform-browser';
|
|
import {AppComponent} from './app/app.component';
|
|
import {provideRouter} from '@angular/router';
|
|
import {routes} from './app/app.routes';
|
|
import {provideHttpClient, withInterceptors} from '@angular/common/http';
|
|
import {authInterceptor} from '@services/AuthInterceptor';
|
|
import {provideNativeDateAdapter} from '@angular/material/core';
|
|
|
|
bootstrapApplication(AppComponent, {
|
|
providers: [
|
|
provideRouter(routes),
|
|
provideHttpClient(),
|
|
provideHttpClient(
|
|
withInterceptors([authInterceptor])
|
|
),
|
|
provideNativeDateAdapter()
|
|
]
|
|
}).catch(err => console.error(err));
|
|
|