aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/signup/signup-routing.module.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-04-25 10:40:01 +0200
committerChocobozzz <me@florianbigard.com>2019-04-25 10:40:01 +0200
commitf3ae606caf74c8a173ce44bf3f913f1488f97d7f (patch)
tree62c5ba100ab8402ee482711b3b411c6ad16f58f9 /client/src/app/signup/signup-routing.module.ts
parentad5718261dba5846802bf91bf848423b1774b04f (diff)
downloadPeerTube-f3ae606caf74c8a173ce44bf3f913f1488f97d7f.tar.gz
PeerTube-f3ae606caf74c8a173ce44bf3f913f1488f97d7f.tar.zst
PeerTube-f3ae606caf74c8a173ce44bf3f913f1488f97d7f.zip
Wait config before loading login/signup
Diffstat (limited to 'client/src/app/signup/signup-routing.module.ts')
-rw-r--r--client/src/app/signup/signup-routing.module.ts6
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 @@
1import { NgModule } from '@angular/core' 1import { NgModule } from '@angular/core'
2import { RouterModule, Routes } from '@angular/router' 2import { RouterModule, Routes } from '@angular/router'
3
4import { MetaGuard } from '@ngx-meta/core' 3import { MetaGuard } from '@ngx-meta/core'
5
6import { SignupComponent } from './signup.component' 4import { SignupComponent } from './signup.component'
5import { ServerConfigResolver } from '@app/core/routing/server-config-resolver.service'
7 6
8const signupRoutes: Routes = [ 7const 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]