diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-25 10:40:01 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-25 10:40:01 +0200 |
commit | f3ae606caf74c8a173ce44bf3f913f1488f97d7f (patch) | |
tree | 62c5ba100ab8402ee482711b3b411c6ad16f58f9 /client/src/app/login/login-routing.module.ts | |
parent | ad5718261dba5846802bf91bf848423b1774b04f (diff) | |
download | PeerTube-f3ae606caf74c8a173ce44bf3f913f1488f97d7f.tar.gz PeerTube-f3ae606caf74c8a173ce44bf3f913f1488f97d7f.tar.zst PeerTube-f3ae606caf74c8a173ce44bf3f913f1488f97d7f.zip |
Wait config before loading login/signup
Diffstat (limited to 'client/src/app/login/login-routing.module.ts')
-rw-r--r-- | client/src/app/login/login-routing.module.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/login/login-routing.module.ts b/client/src/app/login/login-routing.module.ts index 4d8913041..5a41f4e7e 100644 --- a/client/src/app/login/login-routing.module.ts +++ b/client/src/app/login/login-routing.module.ts | |||
@@ -1,9 +1,8 @@ | |||
1 | import { NgModule } from '@angular/core' | 1 | import { NgModule } from '@angular/core' |
2 | import { RouterModule, Routes } from '@angular/router' | 2 | import { RouterModule, Routes } from '@angular/router' |
3 | |||
4 | import { MetaGuard } from '@ngx-meta/core' | 3 | import { MetaGuard } from '@ngx-meta/core' |
5 | |||
6 | import { LoginComponent } from './login.component' | 4 | import { LoginComponent } from './login.component' |
5 | import { ServerConfigResolver } from '@app/core/routing/server-config-resolver.service' | ||
7 | 6 | ||
8 | const loginRoutes: Routes = [ | 7 | const loginRoutes: Routes = [ |
9 | { | 8 | { |
@@ -14,6 +13,9 @@ const loginRoutes: Routes = [ | |||
14 | meta: { | 13 | meta: { |
15 | title: 'Login' | 14 | title: 'Login' |
16 | } | 15 | } |
16 | }, | ||
17 | resolve: { | ||
18 | serverConfigLoaded: ServerConfigResolver | ||
17 | } | 19 | } |
18 | } | 20 | } |
19 | ] | 21 | ] |