Skip to content

Commit

Permalink
Remove region-check for staging
Browse files Browse the repository at this point in the history
  • Loading branch information
daytime-em committed May 8, 2024
1 parent b709995 commit a119c40
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Sources/MuxPlayerSwift/FairPlay/FairPlaySessionManager.swift
Original file line number Diff line number Diff line change
Expand Up @@ -88,13 +88,7 @@ extension String {
static func makeLicenseDomain(rootDomain: String) -> Self {
let customDomainWithDefault = rootDomain
let licenseDomain = "license.\(customDomainWithDefault)"

// TODO: this check should not reach production or playing from staging will probably break
if("staging.mux.com" == customDomainWithDefault) {
return "license.gcp-us-west1-vos1.staging.mux.com"
} else {
return licenseDomain
}
return licenseDomain
}
}

Expand Down

0 comments on commit a119c40

Please sign in to comment.