diff options
Diffstat (limited to 'Hutch/Extensions/SRHTWebURL.swift')
| -rw-r--r-- | Hutch/Extensions/SRHTWebURL.swift | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Hutch/Extensions/SRHTWebURL.swift b/Hutch/Extensions/SRHTWebURL.swift index 35d250d..9bc1552 100644 --- a/Hutch/Extensions/SRHTWebURL.swift +++ b/Hutch/Extensions/SRHTWebURL.swift @@ -1,6 +1,9 @@ import Foundation enum SRHTWebURL { + static let chat = URL(string: "https://chat.sr.ht")! + static let status = URL(string: "https://status.sr.ht")! + static func repository(_ repository: RepositorySummary) -> URL? { userScopedURL( host: "\(repository.service.rawValue).sr.ht", |
