Skip to content

Commit

Permalink
release: allow on cellular and do not wait for connection
Browse files Browse the repository at this point in the history
  • Loading branch information
osy committed Aug 23, 2024
1 parent 7c9945d commit 39d806b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Platform/UTMReleaseHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@ class UTMReleaseHelper: ObservableObject {
return
}
let configuration = URLSessionConfiguration.ephemeral
configuration.allowsCellularAccess = false
configuration.allowsCellularAccess = true
configuration.allowsExpensiveNetworkAccess = false
configuration.allowsConstrainedNetworkAccess = false
configuration.waitsForConnectivity = true
configuration.waitsForConnectivity = false
configuration.httpAdditionalHeaders = ["Accept": "application/vnd.github+json",
"X-GitHub-Api-Version": "2022-11-28"]
let session = URLSession(configuration: configuration)
Expand Down

0 comments on commit 39d806b

Please sign in to comment.