From c0e3d9ff9019fc3af9791bd20e1430724b2a043a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 8 Jul 2022 10:32:33 +0200 Subject: Rename not fount page to error page --- client/src/app/shared/shared-main/auth/auth-interceptor.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/shared/shared-main') 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 { } private handleNotAuthenticated (err: HttpErrorResponse): Observable { - this.router.navigate([ '/404' ], { state: { obj: err }, skipLocationChange: true }) + this.router.navigate([ '/401' ], { state: { obj: err }, skipLocationChange: true }) return of(err.message) } } -- cgit v1.2.3