mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 13:53:19 -07:00
Fixed #1763
This commit is contained in:
parent
9522523095
commit
78f8cdd802
1 changed files with 6 additions and 0 deletions
|
@ -12,12 +12,14 @@ import { JwtModule } from "@auth0/angular-jwt";
|
||||||
|
|
||||||
// Third Party
|
// Third Party
|
||||||
//import { DragulaModule, DragulaService } from 'ng2-dragula/ng2-dragula';
|
//import { DragulaModule, DragulaService } from 'ng2-dragula/ng2-dragula';
|
||||||
|
1import { CookieService } from "ng2-cookies";
|
||||||
import { NgbModule } from "@ng-bootstrap/ng-bootstrap";
|
import { NgbModule } from "@ng-bootstrap/ng-bootstrap";
|
||||||
import { TranslateLoader, TranslateModule } from "@ngx-translate/core";
|
import { TranslateLoader, TranslateModule } from "@ngx-translate/core";
|
||||||
import { TranslateHttpLoader } from "@ngx-translate/http-loader";
|
import { TranslateHttpLoader } from "@ngx-translate/http-loader";
|
||||||
import { GrowlModule } from "primeng/components/growl/growl";
|
import { GrowlModule } from "primeng/components/growl/growl";
|
||||||
import { ButtonModule, CaptchaModule,ConfirmationService, ConfirmDialogModule, DataTableModule,DialogModule, SharedModule, TooltipModule } from "primeng/primeng";
|
import { ButtonModule, CaptchaModule,ConfirmationService, ConfirmDialogModule, DataTableModule,DialogModule, SharedModule, TooltipModule } from "primeng/primeng";
|
||||||
|
|
||||||
|
|
||||||
// Components
|
// Components
|
||||||
import { AppComponent } from "./app.component";
|
import { AppComponent } from "./app.component";
|
||||||
|
|
||||||
|
@ -26,6 +28,7 @@ import { LandingPageComponent } from "./landingpage/landingpage.component";
|
||||||
import { LoginComponent } from "./login/login.component";
|
import { LoginComponent } from "./login/login.component";
|
||||||
import { ResetPasswordComponent } from "./login/resetpassword.component";
|
import { ResetPasswordComponent } from "./login/resetpassword.component";
|
||||||
import { TokenResetPasswordComponent } from "./login/tokenresetpassword.component";
|
import { TokenResetPasswordComponent } from "./login/tokenresetpassword.component";
|
||||||
|
import { CookieComponent } from "./auth/cookie.component";
|
||||||
|
|
||||||
// Services
|
// Services
|
||||||
import { AuthGuard } from "./auth/auth.guard";
|
import { AuthGuard } from "./auth/auth.guard";
|
||||||
|
@ -55,6 +58,7 @@ const routes: Routes = [
|
||||||
{ path: "reset", component: ResetPasswordComponent },
|
{ path: "reset", component: ResetPasswordComponent },
|
||||||
{ path: "token", component: TokenResetPasswordComponent },
|
{ path: "token", component: TokenResetPasswordComponent },
|
||||||
{ path: "landingpage", component: LandingPageComponent },
|
{ path: "landingpage", component: LandingPageComponent },
|
||||||
|
{ path: "auth/cookie", component: CookieComponent },
|
||||||
];
|
];
|
||||||
|
|
||||||
// AoT requires an exported function for factories
|
// AoT requires an exported function for factories
|
||||||
|
@ -120,6 +124,7 @@ export function HttpLoaderFactory(http: HttpClient, platformLocation: PlatformLo
|
||||||
LandingPageComponent,
|
LandingPageComponent,
|
||||||
ResetPasswordComponent,
|
ResetPasswordComponent,
|
||||||
TokenResetPasswordComponent,
|
TokenResetPasswordComponent,
|
||||||
|
CookieComponent,
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
RequestService,
|
RequestService,
|
||||||
|
@ -132,6 +137,7 @@ export function HttpLoaderFactory(http: HttpClient, platformLocation: PlatformLo
|
||||||
LandingPageService,
|
LandingPageService,
|
||||||
ConfirmationService,
|
ConfirmationService,
|
||||||
ImageService,
|
ImageService,
|
||||||
|
CookieService,
|
||||||
],
|
],
|
||||||
bootstrap: [AppComponent],
|
bootstrap: [AppComponent],
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue