Use custom domain to avoid GitHub redirect
Badly handled by iOS. Fixes #29
This commit is contained in:
parent
eb38b20994
commit
d25753a263
|
@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Fixed
|
||||
|
||||
- Infrastructures not refreshed. [#29](https://github.com/passepartoutvpn/passepartout-ios/issues/29)
|
||||
|
||||
## 1.0 RC4 1271 (2018-12-04)
|
||||
|
||||
### Changed
|
||||
|
|
|
@ -154,7 +154,7 @@ class AppConstants {
|
|||
class Repos {
|
||||
private static let githubRoot = URL(string: "https://github.com/passepartoutvpn/")!
|
||||
|
||||
private static let githubRawRoot = URL(string: "https://passepartoutvpn.github.io/")!
|
||||
private static let githubRawRoot = URL(string: "https://\(Domain.name)/")!
|
||||
|
||||
private static func github(repo: String) -> URL {
|
||||
return githubRoot.appendingPathComponent(repo)
|
||||
|
|
Loading…
Reference in New Issue