Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cloudflare deploy doesn't work with subdomain #5

Open
jlelse opened this issue May 2, 2019 · 2 comments

Comments

Projects
None yet
3 participants
@jlelse
Copy link

commented May 2, 2019

When I try to deploy with Cloudflare to a subdomain, I get the following error:
Error: zone ipfs.mywebsite.tld couldn't be found

@olizilla

This comment has been minimized.

Copy link
Collaborator

commented May 2, 2019

Oooh... I think zone here needs to the root domain

ipfs-deploy/index.js

Lines 139 to 143 in 823b1dc

const opts = {
record: siteDomain,
zone: siteDomain,
link: `/ipfs/${hash}`,
}

so in the example given, I think

zone: 'mywebsite.tld'
record: 'ipfs.mywebsite.tld'
@agentofuser

This comment has been minimized.

Copy link
Owner

commented May 2, 2019

Yeah, there isn't support for subdomain dnslink right now, but it's definitely something I want to support. I'll look into it shortly. I also take PRs if anyone wants to take a stab :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.