Skip to content

Commit 8956d3e

Browse files
committed
Remove ipfs2.eth.limo as it is no longer working
1 parent e2338dc commit 8956d3e

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

Planet/Entities/FollowingArticleModel.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class FollowingArticleModel: ArticleModel, Codable {
8686
// planet article link: /12345678-90AB-CDEF-1234-567890ABCDEF/
8787
switch IPFSGateway.selectedGateway() {
8888
case .limo:
89-
return URL(string: "https://\(planet.link).ipfs2.eth.limo\(link)")
89+
return URL(string: "https://\(planet.link).eth.sucks\(link)")
9090
case .sucks:
9191
return URL(string: "https://\(planet.link).eth.sucks\(link)")
9292
case .croptop:
@@ -140,7 +140,7 @@ class FollowingArticleModel: ArticleModel, Codable {
140140
}
141141
switch IPFSGateway.selectedGateway() {
142142
case .limo:
143-
return URL(string: "https://\(planet.link).ipfs2.eth.limo\(link)")
143+
return URL(string: "https://\(planet.link).eth.sucks\(link)")
144144
case .sucks:
145145
return URL(string: "https://\(planet.link).eth.sucks\(link)")
146146
case .croptop:

Planet/Entities/FollowingPlanetModel.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ class FollowingPlanetModel: Equatable, Hashable, Identifiable, ObservableObject,
112112
if link.hasPrefix("k51qaz") {
113113
switch IPFSGateway.selectedGateway() {
114114
case .limo:
115-
return URL(string: "https://\(link).ipfs2.eth.limo/")
115+
return URL(string: "https://\(link).eth.sucks/")
116116
case .sucks:
117117
return URL(string: "https://\(link).eth.sucks/")
118118
case .croptop:
@@ -131,7 +131,7 @@ class FollowingPlanetModel: Equatable, Hashable, Identifiable, ObservableObject,
131131
if cid.hasPrefix("bafy") {
132132
switch IPFSGateway.selectedGateway() {
133133
case .limo:
134-
return URL(string: "https://\(cid).ipfs2.eth.limo/")
134+
return URL(string: "https://\(cid).eth.sucks/")
135135
case .sucks:
136136
return URL(string: "https://\(cid).eth.sucks/")
137137
case .croptop:

Planet/Entities/MyArticleModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ class MyArticleModel: ArticleModel, Codable {
171171
}
172172
switch IPFSGateway.selectedGateway() {
173173
case .limo:
174-
return URL(string: "https://\(planet.ipns).ipfs2.eth.limo\(urlPath)")
174+
return URL(string: "https://\(planet.ipns).eth.sucks\(urlPath)")
175175
case .sucks:
176176
return URL(string: "https://\(planet.ipns).eth.sucks\(urlPath)")
177177
case .croptop:

Planet/Entities/MyPlanetModel.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,7 @@ class MyPlanetModel: Equatable, Hashable, Identifiable, ObservableObject, Codabl
433433
}
434434
switch IPFSGateway.selectedGateway() {
435435
case .limo:
436-
return URL(string: "https://\(ipns).ipfs2.eth.limo/")
436+
return URL(string: "https://\(ipns).eth.sucks/")
437437
case .sucks:
438438
return URL(string: "https://\(ipns).eth.sucks/")
439439
case .croptop:

Planet/versioning.xcconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
CURRENT_PROJECT_VERSION = 2520
1+
CURRENT_PROJECT_VERSION = 2521

0 commit comments

Comments
 (0)