Use gitea.iamchrisama.com instead of git.iamchrisama.com
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
39f1eb8699
commit
a38859d29f
2 files changed
+8
-8
No files matched your search
@@ -58,7 +58,7 @@ actor LyricsSource {
|
||||
var c = URLComponents(string: "https://lrclib.net/api/\(path)")!
|
||||
c.queryItems = query.map { URLQueryItem(name: $0.key, value: $0.value) }
|
||||
var req = URLRequest(url: c.url!, timeoutInterval: 10)
|
||||
req.setValue("Stemify iOS (https://git.iamchrisama.com/cdnutter/stemify)", forHTTPHeaderField: "User-Agent")
|
||||
req.setValue("Stemify iOS (https://gitea.iamchrisama.com/cdnutter/stemify)", forHTTPHeaderField: "User-Agent")
|
||||
guard let (data, resp) = try? await URLSession.shared.data(for: req), (resp as? HTTPURLResponse)?.statusCode == 200 else { return nil }
|
||||
return data
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user