File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ let ProjectSecret = "";
1212let EstuaryInstance ;
1313let NumbersProtocolCaptureToken = "" ; // Store the Capture Token
1414let NumbersProtocolIpfsGatewayLambda = "https://mjacdgxzla.execute-api.us-east-1.amazonaws.com/default/ipfs-add-with-payment" ;
15+ let NumbersProtocolIpfsGateway = "https://ipfs-pin.numbersprotocol.io/ipfs" ;
1516
1617export async function initInfura ( projectId , projectSecret ) {
1718 ProjectId = projectId ;
@@ -142,7 +143,7 @@ export async function numbersProtocolIpfsAddBytes(bytes) {
142143export async function numbersProtocolIpfsCat ( cid ) {
143144 try {
144145 // Use Numbers Protocol IPFS cat API endpoint with Capture Token
145- const url = NumbersProtocolIpfsGatewayLambda ;
146+ const url = ` ${ NumbersProtocolIpfsGateway } / ${ cid } ` ;
146147 const requestConfig = {
147148 headers : {
148149 "Authorization" : `token ${ NumbersProtocolCaptureToken } `
You can’t perform that action at this time.
0 commit comments