X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fcore%2Fcore.module.ts;h=d80f95ed63afcd4fb5d54f91e213dfe643c16706;hb=ab623c0e0b4815bd69a94887241a69aaa857ed26;hp=de32745442fd7f9fd0e68040104905c410e27910;hpb=4d7ce9218a3f695bf3d013cbdce1c5c6a5221927;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/core/core.module.ts b/client/src/app/core/core.module.ts index de3274544..d80f95ed6 100644 --- a/client/src/app/core/core.module.ts +++ b/client/src/app/core/core.module.ts @@ -14,13 +14,23 @@ import { throwIfAlreadyLoaded } from './module-import-guard' import { Notifier } from './notification' import { HtmlRendererService, LinkifierService, MarkdownService } from './renderer' import { RestExtractor, RestService } from './rest' -import { LoginGuard, MetaGuard, MetaService, RedirectService, UnloggedGuard, UserRightGuard } from './routing' +import { + HomepageRedirectComponent, + LoginGuard, + MetaGuard, + MetaService, + PeerTubeRouterService, + RedirectService, + ScrollService, + UnloggedGuard, + UserRightGuard +} from './routing' import { CanDeactivateGuard } from './routing/can-deactivate-guard.service' import { ServerConfigResolver } from './routing/server-config-resolver.service' import { ScopedTokensService } from './scoped-tokens' import { ServerService } from './server' import { ThemeService } from './theme' -import { UserService } from './users' +import { UserLocalStorageService, UserService } from './users' import { LocalStorageService, ScreenService, SessionStorageService } from './wrappers' @NgModule({ @@ -36,13 +46,15 @@ import { LocalStorageService, ScreenService, SessionStorageService } from './wra ], declarations: [ - CheatSheetComponent + CheatSheetComponent, + HomepageRedirectComponent ], exports: [ ToastModule, - CheatSheetComponent + CheatSheetComponent, + HomepageRedirectComponent ], providers: [ @@ -67,6 +79,7 @@ import { LocalStorageService, ScreenService, SessionStorageService } from './wra RestService, UserService, + UserLocalStorageService, ScreenService, LocalStorageService, @@ -78,6 +91,8 @@ import { LocalStorageService, ScreenService, SessionStorageService } from './wra PeerTubeSocket, ServerConfigResolver, CanDeactivateGuard, + PeerTubeRouterService, + ScrollService, MetaService, MetaGuard