]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/login/login-routing.module.ts
Lazy load static objects
[github/Chocobozzz/PeerTube.git] / client / src / app / login / login-routing.module.ts
index 4d89130418526c72cd99f8296228dc08e6715c7e..22f59b4d913bc253010028def8ba00eea2e3939d 100644 (file)
@@ -1,9 +1,8 @@
 import { NgModule } from '@angular/core'
 import { RouterModule, Routes } from '@angular/router'
-
 import { MetaGuard } from '@ngx-meta/core'
-
 import { LoginComponent } from './login.component'
+import { ServerConfigResolver } from '@app/core/routing/server-config-resolver.service'
 
 const loginRoutes: Routes = [
   {
@@ -14,6 +13,9 @@ const loginRoutes: Routes = [
       meta: {
         title: 'Login'
       }
+    },
+    resolve: {
+      serverConfig: ServerConfigResolver
     }
   }
 ]