Skip to content

Commit

Permalink
Improved solution for the acc and test urls.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rool committed Apr 4, 2023
1 parent 6f1ac78 commit b17d74e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/CTR/Infrastructure/Model/Coordinator.swift
Original file line number Diff line number Diff line change
Expand Up @@ -121,13 +121,13 @@ extension Coordinator {
break
case .acceptance, .development:
releaseAdjustedURL = URL(string: url.absoluteString
.replacingOccurrences(of: "www.coronacheck.nl/", with: "coronacheck.nl/")
.replacingOccurrences(of: "coronacheck.nl/", with: "web.acc.coronacheck.nl/")
.replacingOccurrences(of: "https://www.coronacheck.nl/", with: "https://web.acc.coronacheck.nl/")
.replacingOccurrences(of: "https://coronacheck.nl/", with: "https://web.acc.coronacheck.nl/")
)
case .test:
releaseAdjustedURL = URL(string: url.absoluteString
.replacingOccurrences(of: "www.coronacheck.nl/", with: "coronacheck.nl/")
.replacingOccurrences(of: "coronacheck.nl/", with: "web.test.coronacheck.nl/")
.replacingOccurrences(of: "https://www.coronacheck.nl/", with: "https://web.test.coronacheck.nl/")
.replacingOccurrences(of: "https://coronacheck.nl/", with: "https://web.test.coronacheck.nl/")
)
}

Expand Down

0 comments on commit b17d74e

Please sign in to comment.