CloudFlare function call
This commit is contained in:
parent
eed6a1de1e
commit
8fa301493b
@ -77,7 +77,7 @@ async function unpin (exclude) {
|
||||
}
|
||||
|
||||
async function dnslink (hash) {
|
||||
await cloudflare.update(
|
||||
await cloudflare(
|
||||
{ token: process.env.CF_API_TOKEN },
|
||||
{ link: `/ipfs/${hash}`, record: `_dnslink.${DOMAIN}`, zone: DOMAIN }
|
||||
);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user