diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 934d439..7a53c6a 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -100,7 +100,7 @@ export class AppModule { result => { }, error => { - document.location = '#/500'; + document.location.href = '#/500'; throw new Error('Server connection fail'); } );