diff --git a/app.config.ts b/app.config.ts index a592f3d..e8f0001 100644 --- a/app.config.ts +++ b/app.config.ts @@ -1,20 +1,18 @@ export default defineAppConfig({ title: "TeaTime", icon: "🫖", - ipfsGateways: [ - { - value: "ipfs.io", + ipfsGateways: { + "ipfs.io": { name: "IPFS.io", description: "IPFS official gateway", info: "https://docs.ipfs.tech/concepts/ipfs-gateway/", - url: "https://ipfs.io/{CID}?filename={filename}", + url: "https://ipfs.io/${cid}?filename=${filename}", }, - { - value: "localhost", + localhost: { name: "Local IPFS Gateway", description: "Local IPFS gateway", info: "https://docs.ipfs.tech/install/ipfs-desktop/", - url: "http://{CID}.ipfs.localhost:8080/?filename={filename}", + url: "http://${cid}.ipfs.localhost:8080/?filename=${filename}", }, - ], + }, });