wip: show external site
This commit is contained in:
@@ -9,6 +9,8 @@ pub fn run() {
|
||||
tauri::Builder::default()
|
||||
.plugin(tauri_plugin_opener::init())
|
||||
.invoke_handler(tauri::generate_handler![greet])
|
||||
// https://github.com/tauri-apps/tauri/issues/986
|
||||
//.setup(|webview, _| webview.eval("window.location.replace('https://google.com')"))
|
||||
.run(tauri::generate_context!())
|
||||
.expect("error while running tauri application");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user