url

abstract var url: String?(source)

Remote URL or local file path to open.

  • URL such as https://github.com/tauri-apps is opened directly on a Tauri webview.

  • data: URL such as data:text/html,<html>... is only supported with the webview-data-url Cargo feature for the tauri dependency.

  • local file path or route such as /path/to/page.html or /users is appended to the application URL (the devServer URL on development, or tauri://localhost/ and https://tauri.localhost/ on production).