Skip to content

Commit

Permalink
fix(server): api_v1_write not work when use https (#1227)
Browse files Browse the repository at this point in the history
Signed-off-by: zipper-meng <zipper.meng@cnosdb.com>
  • Loading branch information
zipper-meng committed Jun 1, 2023
1 parent ece57a8 commit 27b11a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/src/http/http_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ impl Service for HttpService {
tokio::spawn(server)
}
ServerMode::Bundle => {
let routes = self.routes_query().recover(handle_rejection);
let routes = self.routes_bundle().recover(handle_rejection);
let (addr, server) = warp::serve(routes)
.tls()
.cert_path(certificate)
Expand Down

0 comments on commit 27b11a6

Please sign in to comment.