Skip to content

Commit 08fe370

Browse files
authored
chore: use pineapple gateway to get JSON on poke (#535)
1 parent e08afe7 commit 08fe370

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/helpers/poke.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ async function getSpaceENS(id: string): Promise<Space> {
3333
}
3434

3535
try {
36-
return await snapshot.utils.getJSON(uri);
36+
return await snapshot.utils.getJSON(uri, {
37+
gateways: ['pineapple.fyi']
38+
});
3739
} catch (e) {
3840
return Promise.reject(`${uri} is not a valid JSON file`);
3941
}

0 commit comments

Comments
 (0)