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/signup | |
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/signup')
-rw-r--r-- | client/src/app/signup/signup-routing.module.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/signup/signup-routing.module.ts b/client/src/app/signup/signup-routing.module.ts index b7ac69b53..820d16d4d 100644 --- a/client/src/app/signup/signup-routing.module.ts +++ b/client/src/app/signup/signup-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 { SignupComponent } from './signup.component' | 4 | import { SignupComponent } from './signup.component' |
5 | import { ServerConfigResolver } from '@app/core/routing/server-config-resolver.service' | ||
7 | 6 | ||
8 | const signupRoutes: Routes = [ | 7 | const signupRoutes: Routes = [ |
9 | { | 8 | { |
@@ -14,6 +13,9 @@ const signupRoutes: Routes = [ | |||
14 | meta: { | 13 | meta: { |
15 | title: 'Signup' | 14 | title: 'Signup' |
16 | } | 15 | } |
16 | }, | ||
17 | resolve: { | ||
18 | serverConfigLoaded: ServerConfigResolver | ||
17 | } | 19 | } |
18 | } | 20 | } |
19 | ] | 21 | ] |