Skip to content

Commit

Permalink
Remove visionOS availability check
Browse files Browse the repository at this point in the history
  • Loading branch information
cham-s committed Apr 23, 2024
1 parent 1af749d commit 4b73088
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 @@ -21,7 +21,7 @@ extension WebSocket {
onUpgrade: @Sendable @escaping (WebSocket) -> ()
) -> EventLoopFuture<Void> {
let optionalURL: URL?
if #available(iOS 17.0, macOS 14.0, tvOS 17.0, watchOS 10.0, visionOS 1.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 4b73088

Please sign in to comment.