aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-21 09:40:57 +0100
committerChocobozzz <me@florianbigard.com>2018-03-21 09:40:57 +0100
commit29f9b56205f03c8a1da889fb451da12820d9262e (patch)
tree426760079a047e44905130d769f4849ca371c802 /client/src/app/app.component.ts
parent9add00514f89e6e3eefc8f18174338088b9ab12e (diff)
downloadPeerTube-29f9b56205f03c8a1da889fb451da12820d9262e.tar.gz
PeerTube-29f9b56205f03c8a1da889fb451da12820d9262e.tar.zst
PeerTube-29f9b56205f03c8a1da889fb451da12820d9262e.zip
Logo/title redirects to the default route
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r--client/src/app/app.component.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index 84435b5db..b9f7be48c 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -43,6 +43,10 @@ export class AppComponent implements OnInit {
43 return this.serverService.getConfig().instance.name 43 return this.serverService.getConfig().instance.name
44 } 44 }
45 45
46 get defaultRoute () {
47 return RedirectService.DEFAULT_ROUTE
48 }
49
46 ngOnInit () { 50 ngOnInit () {
47 document.getElementById('incompatible-browser').className += ' browser-ok' 51 document.getElementById('incompatible-browser').className += ' browser-ok'
48 52