Files
swisssign-challenge-ui/src/app/app.module.ts

30 lines
824 B
TypeScript
Raw Normal View History

import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';
2025-01-23 11:10:23 +01:00
import {AppRoutingModule} from './app-routing.module';
import {AppComponent} from './app.component';
import {HelloComponent} from './hello/hello.component';
import {NavbarComponent} from './navbar/navbar.component';
import {BASE_PATH} from '../gen';
import {environment} from '../environments/environment';
import {provideHttpClient, withInterceptorsFromDi} from '@angular/common/http';
2025-01-23 11:10:23 +01:00
@NgModule({
declarations: [
AppComponent,
HelloComponent
2025-01-23 11:10:23 +01:00
],
imports: [
BrowserModule,
AppRoutingModule,
NavbarComponent
2025-01-23 11:10:23 +01:00
],
providers: [
{provide: BASE_PATH, useValue: environment.apiBasePath},
provideHttpClient(withInterceptorsFromDi())
],
2025-01-23 11:10:23 +01:00
bootstrap: [AppComponent]
})
export class AppModule {
}