Fix dev mode issues on Windows
This commit is contained in:
1 file changed
+1
-1
@@ -581,7 +581,7 @@ pub fn run() {
|
|||||||
}
|
}
|
||||||
#[cfg(debug_assertions)]
|
#[cfg(debug_assertions)]
|
||||||
{
|
{
|
||||||
let mut new_url = window.url().unwrap();
|
let mut new_url = app.config().build.dev_url.clone().unwrap();
|
||||||
new_url.set_path("/main");
|
new_url.set_path("/main");
|
||||||
window.navigate(new_url).unwrap();
|
window.navigate(new_url).unwrap();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user