Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
billp committed Dec 31, 2024
1 parent 4bdb60c commit fd53830
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Examples/Screens/Pinning/CertificatePinningView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ struct CertificatePinningView: View {
}
.padding([.leading, .trailing, .top], 20)
.navigationTitle("Certificate Pinning")
.onAppear {
Environment.current.configuration?.mockDataEnabled = false
}
}

func startRequest() {
Expand Down
2 changes: 1 addition & 1 deletion Source/Log.swift
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ internal class Log {
print(String(format: "🎛️ Method: %@", request.method.rawValue.uppercased()))
if case .data = request.requestType,
case .started = state {
print(String(format: "🔮 CURL: %@", urlRequest.curlString))
print(String(format: "🔮 cURL: %@", urlRequest.curlString))
}

if request.configuration.certificateData != nil {
Expand Down

0 comments on commit fd53830

Please sign in to comment.