Skip to content

Commit

Permalink
Merge pull request #234 from EspressoSystems/rm/temp-redirect
Browse files Browse the repository at this point in the history
Change version redirect to temporary
  • Loading branch information
rob-maron authored Sep 20, 2024
2 parents 52e49d9 + 183650e commit b72e592
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.rs
Original file line number Diff line number Diff line change
Expand Up @@ -698,7 +698,7 @@ where

let latest_version = *module.versions.last_key_value().unwrap().0;
let path = path.join("/");
Ok(tide::Redirect::permanent(format!("/v{latest_version}/{path}")).into())
Ok(tide::Redirect::temporary(format!("/v{latest_version}/{path}")).into())
}
}
.boxed()
Expand Down

0 comments on commit b72e592

Please sign in to comment.