Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit d80d3a3

Browse files
shunkinoalanshaw
authored andcommittedSep 5, 2018
fix: ipfs.io now should be resolved recursively (#362)
1 parent 1e02740 commit d80d3a3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎js/src/miscellaneous/dns.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ module.exports = (createCommon, options) => {
3434
this.timeout(20 * 1000)
3535
this.retries(3)
3636

37-
ipfs.dns('ipfs.io', (err, path) => {
37+
ipfs.dns('ipfs.io', {r: true}, (err, path) => {
3838
expect(err).to.not.exist()
3939
expect(path).to.exist()
4040
done()

‎js/src/miscellaneous/resolve.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ module.exports = (createCommon, options) => {
9292
it('should resolve an IPNS DNS link', function (done) {
9393
this.timeout(20 * 1000)
9494

95-
ipfs.resolve('/ipns/ipfs.io', (err, path) => {
95+
ipfs.resolve('/ipns/ipfs.io', {r: true}, (err, path) => {
9696
expect(err).to.not.exist()
9797
expect(isIpfs.ipfsPath(path)).to.be.true()
9898
done()

0 commit comments

Comments
 (0)
This repository has been archived.