aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.module.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-12-18 15:31:54 +0100
committerChocobozzz <me@florianbigard.com>2019-12-18 15:40:59 +0100
commitba430d7516bc5b1324b60571ba7594460969b7fb (patch)
treedf5c6952c82f49a94c0a884bbc97d4a0cbd9f867 /client/src/app/app.module.ts
parent5dfb7c1dec8222b0bbccac5b56ad46da1438747e (diff)
downloadPeerTube-ba430d7516bc5b1324b60571ba7594460969b7fb.tar.gz
PeerTube-ba430d7516bc5b1324b60571ba7594460969b7fb.tar.zst
PeerTube-ba430d7516bc5b1324b60571ba7594460969b7fb.zip
Lazy load static objects
Diffstat (limited to 'client/src/app/app.module.ts')
-rw-r--r--client/src/app/app.module.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/app.module.ts b/client/src/app/app.module.ts
index 38b7328e2..dda705811 100644
--- a/client/src/app/app.module.ts
+++ b/client/src/app/app.module.ts
@@ -25,10 +25,10 @@ export function metaFactory (serverService: ServerService): MetaLoader {
25 return new MetaStaticLoader({ 25 return new MetaStaticLoader({
26 pageTitlePositioning: PageTitlePositioning.PrependPageTitle, 26 pageTitlePositioning: PageTitlePositioning.PrependPageTitle,
27 pageTitleSeparator: ' - ', 27 pageTitleSeparator: ' - ',
28 get applicationName () { return serverService.getConfig().instance.name }, 28 get applicationName () { return serverService.getTmpConfig().instance.name },
29 defaults: { 29 defaults: {
30 get title () { return serverService.getConfig().instance.name }, 30 get title () { return serverService.getTmpConfig().instance.name },
31 get description () { return serverService.getConfig().instance.shortDescription } 31 get description () { return serverService.getTmpConfig().instance.shortDescription }
32 } 32 }
33 }) 33 })
34} 34}