aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/routing/meta.service.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-06-04 13:31:41 +0200
committerChocobozzz <me@florianbigard.com>2021-06-04 15:45:44 +0200
commit2989628b7913383b39ac34c7db8666a21f8e5037 (patch)
treeac7759177c04e524e7845143fd685aefb49e810e /client/src/app/core/routing/meta.service.ts
parent8e08d415f9473b6b72fef698729453e726da16e7 (diff)
downloadPeerTube-2989628b7913383b39ac34c7db8666a21f8e5037.tar.gz
PeerTube-2989628b7913383b39ac34c7db8666a21f8e5037.tar.zst
PeerTube-2989628b7913383b39ac34c7db8666a21f8e5037.zip
Use HTML config when possible
Diffstat (limited to 'client/src/app/core/routing/meta.service.ts')
-rw-r--r--client/src/app/core/routing/meta.service.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/client/src/app/core/routing/meta.service.ts b/client/src/app/core/routing/meta.service.ts
index a5ac778dc..97e440faf 100644
--- a/client/src/app/core/routing/meta.service.ts
+++ b/client/src/app/core/routing/meta.service.ts
@@ -16,9 +16,7 @@ export class MetaService {
16 private meta: Meta, 16 private meta: Meta,
17 private server: ServerService 17 private server: ServerService
18 ) { 18 ) {
19 this.config = this.server.getTmpConfig() 19 this.config = this.server.getHTMLConfig()
20 this.server.getConfig()
21 .subscribe(config => this.config = config)
22 } 20 }
23 21
24 setTitle (subTitle?: string) { 22 setTitle (subTitle?: string) {