git ssb

0+

cel / dillo-dat



Commit 33392c013ac0ea67c53a6f0f57b3a4e6edcfb03e

Update dat-dns for TXT record support

cel committed on 8/29/2018, 7:59:40 PM
Parent: 0dc90679c2621a5b112229ca9441babff47814c9

Files changed

dat.dpichanged
package.jsonchanged
dat.dpiView
@@ -334,9 +334,12 @@
334334 var self = this
335335 self.urlp = parseDatUrl(self.url, true)
336336 if (!self.urlp.host) return self.serveError('Archive not found')
337337 self.sendStatus('resolving name')
338- datDns.resolveName(self.urlp.host, {ignoreCachedMiss: true}, function (err, key) {
338 + datDns.resolveName(self.urlp.host, {
339 + ignoreCachedMiss: true,
340 + noDnsOverHttps: true
341 + }, function (err, key) {
339342 if (err) return self.serveError(err)
340343 if (!key) return cb(new TypeError('resolve failed'))
341344 self.sendStatus('getting archive')
342345 withTimeout(getArchive, 10000)(key, function (err, archive) {
package.jsonView
@@ -1,8 +1,8 @@
11 {
22 "dependencies": {
33 "asyncmemo": "^1.0.0",
4- "dat-dns": "^2.0.0",
4 + "dat-dns": "^3.0.2",
55 "hyperscript": "^2.0.2",
66 "hyperdrive": "^9.12.3",
77 "hyperdiscovery": "^7.0.0",
88 "parse-dat-url": "^2.0.1"

Built with git-ssb-web