Skip to content

Commit

Permalink
Fix bug breaking elite server status check
Browse files Browse the repository at this point in the history
  • Loading branch information
SuperManifolds committed Feb 16, 2022
1 parent fae0aa1 commit 6b6ce34
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/mechasqueak/EliteServerStatus.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ struct EliteServerStatus: Codable {
var request = try! HTTPClient.Request(url: "http://hosting.zaonce.net/launcher-status/status.json", method: .GET)
request.headers.add(name: "User-Agent", value: MechaSqueak.userAgent)
request.headers.add(name: "Content-Type", value: "application/json")
request.headers.add(name: "Accept-Encoding", value: "gzip, deflate, br")

do {
return try await httpClient.execute(request: request, forDecodable: EliteServerStatus.self)
Expand Down

0 comments on commit 6b6ce34

Please sign in to comment.