Commit 96933470 authored by dev0tion's avatar dev0tion

Use navigate instead of navigateByUrl

parent 45f0ffdf
...@@ -30,9 +30,9 @@ export class AppComponent implements OnInit { ...@@ -30,9 +30,9 @@ export class AppComponent implements OnInit {
if (this.response = "true") { if (this.response = "true") {
// remote.dialog.showMessageBox({message: remote.app.getPath('userData')}) // remote.dialog.showMessageBox({message: remote.app.getPath('userData')})
this.router.navigateByUrl('/wallet') this.router.navigate(['/wallet'])
} else { } else {
this.router.navigateByUrl('/setup') this.router.navigate(['/setup'])
} }
} }
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>Breeze</title> <title>Breeze</title>
<base href="./"> <base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
</head> </head>
<body> <body>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment