Skip to content

Commit

Permalink
Switch to domain with good reputation (#1443)
Browse files Browse the repository at this point in the history
  • Loading branch information
nessup authored Aug 3, 2023
1 parent 074a3eb commit 8c0dc9c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/many-spoons-end.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"thirdweb": patch
---

Switch IPFS download domain used in CLI
5 changes: 1 addition & 4 deletions packages/cli/src/deploy/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,7 @@ export async function deployApp(

try {
const uri = await upload(storage, distPath);
return `${uri.replace(
"ipfs://",
"https://ipfs-public.thirdwebcdn.com/ipfs/",
)}`;
return storage.resolveScheme(uri);
} catch (err) {
console.error("Can't upload project", err);
return Promise.reject("Can't upload project");
Expand Down

0 comments on commit 8c0dc9c

Please sign in to comment.