Skip to content

Commit c90f68a

Browse files
authored
chore: replace deprecated Clearbit Logo API with DuckDuckGo Icons API (#353)
1 parent 87517b4 commit c90f68a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Example/AppleReminders/Networking.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import Foundation
1111

1212
struct IconAPI {
1313
func fetchIcon(urlString: String, completion: @escaping (Result<Data?, Error>) -> Void) {
14-
let imgURLString = "https://logo.clearbit.com/\(urlString)"
14+
let imgURLString = "https://icons.duckduckgo.com/ip3/\(urlString)"
1515
guard let url = URL(string: imgURLString) else { return }
1616

1717
URLSession.shared.dataTask(with: url) { (data, response, error) in

0 commit comments

Comments
 (0)