Skip to content

Commit

Permalink
Merge pull request #4 from leapalazzolo/main
Browse files Browse the repository at this point in the history
[Fix] hardcoded protocol on stats
  • Loading branch information
imatefx authored May 6, 2024
2 parents 2712aaf + 4787ab3 commit b395925
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/typesense/stats.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ pub async fn get_typesense_stats(args: Arc<CliArgs>) -> Result<TypesenseStats, E
let client = reqwest::Client::new();

let url = format!(
"http://{}:{}/stats.json",
args.typesense_host, args.typesense_port
"{}://{}:{}/stats.json",
args.typesense_protocol, args.typesense_host, args.typesense_port
);

let res = client
Expand Down

0 comments on commit b395925

Please sign in to comment.