Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislearn committed Jan 5, 2025
1 parent 4852a53 commit 5fd271c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/core/src/conn/acme/listener.rs
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ impl<T> AcmeListener<T> {
};
router.routers.insert(
0,
Router::with_path(format!("{}/{token}", WELL_KNOWN_PATH)).goal(handler),
Router::with_path(format!("{}/{{token}}", WELL_KNOWN_PATH)).goal(handler),
);
} else {
panic!("`HTTP-01` challenge's key should not be none");
Expand Down
2 changes: 1 addition & 1 deletion crates/oapi/src/swagger_ui/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ impl SwaggerUi {

/// Consusmes the [`SwaggerUi`] and returns [`Router`] with the [`SwaggerUi`] as handler.
pub fn into_router(self, path: impl Into<String>) -> Router {
Router::with_path(format!("{}/{**}", path.into())).goal(self)
Router::with_path(format!("{}/{{**}}", path.into())).goal(self)
}
}

Expand Down

0 comments on commit 5fd271c

Please sign in to comment.