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