Skip to content

Commit

Permalink
Fix the broken link in the updater plugin page (#3132)
Browse files Browse the repository at this point in the history
Co-authored-by: Fabian-Lars <[email protected]>
  • Loading branch information
GuoJikun and FabianLars authored Jan 23, 2025
1 parent 3de68e8 commit c1a2e11
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/content/docs/plugin/updater.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -305,9 +305,9 @@ Note that Tauri will validate the whole file before checking the version field,

### Dynamic Update Server

When using a dynamic update server, Tauri will follow the server's instructions. To disable the internal version check you can overwrite the [Tauri's version comparison](https://docs.rs/tauri/latest/tauri/updater/struct.UpdateBuilder.html#method.should_install), this will install the version sent by the server (useful if you need to roll back your app).
When using a dynamic update server, Tauri will follow the server's instructions. To disable the internal version check you can overwrite the [plugin's version comparison](https://docs.rs/tauri-plugin-updater/latest/tauri_plugin_updater/struct.UpdaterBuilder.html#method.version_comparator), this will install the version sent by the server (useful if you need to roll back your app).

Your server can use variables defined in the `endpoint` URL above to determine if an update is required. If you need more data, you can include additional [request headers in Rust](https://docs.rs/tauri/latest/tauri/updater/struct.UpdateBuilder.html#method.header) to your liking.
Your server can use variables defined in the `endpoint` URL above to determine if an update is required. If you need more data, you can include additional [request headers in Rust](https://docs.rs/tauri-plugin-updater/latest/tauri_plugin_updater/struct.UpdaterBuilder.html#method.header) to your liking.

Your server should respond with a status code of [`204 No Content`](https://datatracker.ietf.org/doc/html/rfc2616#section-10.2.5) if there is no update available.

Expand Down

0 comments on commit c1a2e11

Please sign in to comment.