Expose your app’s assets through a localhost server instead of the default custom protocol.
This plugin requires a Rust version of at least 1.75
-
Install the localhost plugin by adding the following to your Cargo.toml
file:
-
Modify lib.rs
to initialize the plugin:
The localhost plugin is available in Rust.
© 2024 Tauri Contributors. CC-BY / MIT