Skip to content

Commit

Permalink
deploy: b72e592
Browse files Browse the repository at this point in the history
  • Loading branch information
rob-maron committed Sep 20, 2024
1 parent e9af84f commit 88adb85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tide_disco/app.rs.html
Original file line number Diff line number Diff line change
Expand Up @@ -2505,7 +2505,7 @@

<span class="kw">let </span>latest_version = <span class="kw-2">*</span>module.versions.last_key_value().unwrap().<span class="number">0</span>;
<span class="kw">let </span>path = path.join(<span class="string">"/"</span>);
<span class="prelude-val">Ok</span>(tide::Redirect::permanent(<span class="macro">format!</span>(<span class="string">"/v{latest_version}/{path}"</span>)).into())
<span class="prelude-val">Ok</span>(tide::Redirect::temporary(<span class="macro">format!</span>(<span class="string">"/v{latest_version}/{path}"</span>)).into())
}
}
.boxed()
Expand Down

0 comments on commit 88adb85

Please sign in to comment.