aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-08 10:32:33 +0200
committerChocobozzz <me@florianbigard.com>2022-07-08 10:58:05 +0200
commitc0e3d9ff9019fc3af9791bd20e1430724b2a043a (patch)
treec43204bf44440eda4775fd1c3355f69bfeecb76e /client/src/app/shared/shared-main
parentc482d2b7a6c59867973291f3ea3eca7d2db87d2a (diff)
downloadPeerTube-c0e3d9ff9019fc3af9791bd20e1430724b2a043a.tar.gz
PeerTube-c0e3d9ff9019fc3af9791bd20e1430724b2a043a.tar.zst
PeerTube-c0e3d9ff9019fc3af9791bd20e1430724b2a043a.zip
Rename not fount page to error page
Diffstat (limited to 'client/src/app/shared/shared-main')
-rw-r--r--client/src/app/shared/shared-main/auth/auth-interceptor.service.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-main/auth/auth-interceptor.service.ts b/client/src/app/shared/shared-main/auth/auth-interceptor.service.ts
index 7daf31a98..e4b74f3ad 100644
--- a/client/src/app/shared/shared-main/auth/auth-interceptor.service.ts
+++ b/client/src/app/shared/shared-main/auth/auth-interceptor.service.ts
@@ -62,7 +62,7 @@ export class AuthInterceptor implements HttpInterceptor {
62 } 62 }
63 63
64 private handleNotAuthenticated (err: HttpErrorResponse): Observable<any> { 64 private handleNotAuthenticated (err: HttpErrorResponse): Observable<any> {
65 this.router.navigate([ '/404' ], { state: { obj: err }, skipLocationChange: true }) 65 this.router.navigate([ '/401' ], { state: { obj: err }, skipLocationChange: true })
66 return of(err.message) 66 return of(err.message)
67 } 67 }
68} 68}