Un début d'ajout pour uploader des images
This commit is contained in:
@@ -32,6 +32,7 @@ import { StatsService } from "../services/stats.service";
|
||||
import { ServiceComm } from "../services/service-comm.service";
|
||||
import { RequestCache } from "../services/request-cache.service";
|
||||
import { AuthGuardService } from "../services/auth-guard.service";
|
||||
import { ImageService } from "../services/image.service";
|
||||
|
||||
import { BrowserAnimationsModule } from "@angular/platform-browser/animations";
|
||||
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
|
||||
@@ -57,6 +58,7 @@ import { CachingInterceptor } from "../interceptor/caching.interceptor";
|
||||
import { JwtAuthInterceptor } from "../interceptor/jwt-auth.interceptor";
|
||||
import { ErrorInterceptor } from "../interceptor/error.interceptor";
|
||||
import { UserProfileComponent } from "./user-profile/user-profile.component";
|
||||
import { ListOfImagesComponent } from "./list-of-images/list-of-images.component";
|
||||
|
||||
const appRoutes: Routes = [
|
||||
{ path: "", component: DefaultComponent, canActivate: [AuthGuardService] },
|
||||
@@ -126,6 +128,7 @@ const appRoutes: Routes = [
|
||||
CreateUserComponent,
|
||||
LoginUserComponent,
|
||||
UserProfileComponent,
|
||||
ListOfImagesComponent,
|
||||
],
|
||||
imports: [
|
||||
RouterModule.forRoot(
|
||||
@@ -156,6 +159,7 @@ const appRoutes: Routes = [
|
||||
],
|
||||
exports: [HttpClientModule],
|
||||
providers: [
|
||||
ImageService,
|
||||
AircraftService,
|
||||
DropzoneService,
|
||||
GearService,
|
||||
|
||||
Reference in New Issue
Block a user