Skip to content

Commit b793042

Browse files
committed
Remove copy-pasta'ed path elements from MTC get-roots
1 parent 95b2ef7 commit b793042

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/mtc_worker/src/frontend_worker.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ async fn main(req: Request, env: Env, _ctx: Context) -> Result<Response> {
126126
// Now that we've validated the log name, use an inner router to
127127
// handle the request.
128128
Router::with_data(name)
129-
.get_async("/logs/:log/ct/v1/get-roots", |_req, ctx| async move {
129+
.get_async("/logs/:log/get-roots", |_req, ctx| async move {
130130
Response::from_json(&GetRootsResponse {
131131
certificates: x509_util::certs_to_bytes(
132132
&load_roots(&ctx.env, ctx.data).await?.certs,

0 commit comments

Comments
 (0)