Skip to content

Commit

Permalink
Update Sources/WebSocketKit/WebSocket+Connect.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
0xTim committed Apr 24, 2024
1 parent a1f7242 commit d145fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/WebSocketKit/WebSocket+Connect.swift
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ extension WebSocket {
) -> EventLoopFuture<Void> {
#if os(iOS) || os(tvOS) || os(watchOS) || os(macOS)
let optionalURL: URL?
if #available(iOS 17.0, macOS 14.3, tvOS 17.0, watchOS 10.0, *) {
if #available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, *) {
optionalURL = URL(string: url, encodingInvalidCharacters: false)
} else {
optionalURL = URL(string: url)
Expand Down

0 comments on commit d145fc2

Please sign in to comment.