mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-14 21:21:44 +03:00
parent
23a48007c0
commit
2e74d20e83
5
.changes/fix-local-url-check.md
Normal file
5
.changes/fix-local-url-check.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Fixes check for local URL when an external URL is provided to the window and it is based on the configured devPath.
|
@ -1069,7 +1069,10 @@ impl<R: Runtime> WindowManager<R> {
|
||||
},
|
||||
)
|
||||
}
|
||||
WindowUrl::External(url) => (url.scheme() == "tauri", url.clone()),
|
||||
WindowUrl::External(url) => {
|
||||
let config_url = self.get_url();
|
||||
(config_url.make_relative(url).is_some(), url.clone())
|
||||
}
|
||||
_ => unimplemented!(),
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user