Implement createSession and store it in localStorage
This commit is contained in:
@ -2,22 +2,24 @@ import {NgModule} from '@angular/core';
|
||||
import {BrowserModule} from '@angular/platform-browser';
|
||||
|
||||
import {AppRoutingModule} from './app-routing.module';
|
||||
import {AppComponent} from './app.component';
|
||||
import {HelloComponent} from './hello/hello.component';
|
||||
import {NavbarComponent} from './navbar/navbar.component';
|
||||
import {AppComponent} from './components/app.component';
|
||||
import {HelloComponent} from './components/hello/hello.component';
|
||||
import {BASE_PATH} from '../gen';
|
||||
import {environment} from '../environments/environment';
|
||||
import {provideHttpClient, withInterceptorsFromDi} from '@angular/common/http';
|
||||
import { LoginComponent } from './components/login/login.component';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
AppComponent,
|
||||
HelloComponent
|
||||
HelloComponent,
|
||||
LoginComponent
|
||||
],
|
||||
imports: [
|
||||
BrowserModule,
|
||||
AppRoutingModule,
|
||||
NavbarComponent
|
||||
FormsModule
|
||||
],
|
||||
providers: [
|
||||
{provide: BASE_PATH, useValue: environment.apiBasePath},
|
||||
|
Reference in New Issue
Block a user