mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-02-06 11:22:04 +00:00
fix(worker): Fix route syntax
This commit is contained in:
parent
4053ad1b58
commit
effd106adf
@ -45,7 +45,7 @@ pub fn router() -> Router {
|
||||
.route("/config/latest", get(stable_schema))
|
||||
.route("/config/stable", get(stable_schema))
|
||||
.route("/config/next", get(next_schema)) // pre-releases versions, (rc, alpha and beta)
|
||||
.route("/config/:version", get(schema_for_version))
|
||||
.route("/config/{version}", get(schema_for_version))
|
||||
}
|
||||
|
||||
async fn schema_for_version(Path(version): Path<String>) -> Result<String> {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user