aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app.component.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-08 11:25:12 +0200
committerChocobozzz <me@florianbigard.com>2018-06-08 11:25:12 +0200
commit7cf26f433f5d93fb5325495bc87bdef87260aada (patch)
tree675e45abf0d63f20e3b6da9293ed5a32e0d1b1a4 /client/src/app/app.component.ts
parentdbe868c07080135cf62ecb8ad556d471c1e6c2ca (diff)
downloadPeerTube-7cf26f433f5d93fb5325495bc87bdef87260aada.tar.gz
PeerTube-7cf26f433f5d93fb5325495bc87bdef87260aada.tar.zst
PeerTube-7cf26f433f5d93fb5325495bc87bdef87260aada.zip
Fix e2e tests
Diffstat (limited to 'client/src/app/app.component.ts')
-rw-r--r--client/src/app/app.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/app.component.ts b/client/src/app/app.component.ts
index 6087dbf80..0bfe9f916 100644
--- a/client/src/app/app.component.ts
+++ b/client/src/app/app.component.ts
@@ -55,7 +55,7 @@ export class AppComponent implements OnInit {
55 if (e instanceof NavigationEnd) { 55 if (e instanceof NavigationEnd) {
56 const pathname = window.location.pathname 56 const pathname = window.location.pathname
57 if (!pathname || pathname === '/' || is18nPath(pathname)) { 57 if (!pathname || pathname === '/' || is18nPath(pathname)) {
58 this.redirectService.redirectToHomepage() 58 this.redirectService.redirectToHomepage(true)
59 } 59 }
60 } 60 }
61 }) 61 })