Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gulivero1773 committed Jun 7, 2024
1 parent f6b8cd3 commit a8d8991
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/HealthChecks/MongoHealthChecks/MongoRequest.swift
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public final class MongoRequest: MongoRequestSendable {
/// - Parameter port: `String`
/// - Returns: `String`
public func getConnection(by host: String, and port: String) async throws -> String {
let uri = URI(string: "http://\(host):\(port)" + "?compressors=disabled&gssapiServiceName=mongodb")
let uri = URI(string: "https://\(host):\(port)" + "?compressors=disabled&gssapiServiceName=mongodb")
let connect = try await app.client.get(uri)
return "\(connect.status)"
}
Expand Down

0 comments on commit a8d8991

Please sign in to comment.