Browse Source

Pass cache option through to Got

got-cache
Luke Childs 7 years ago
parent
commit
5739f0f4d0
  1. 3
      src/index.js

3
src/index.js

@ -41,7 +41,8 @@ class Onionoo {
headers: {
'user-agent': `onionoo-node-client v${pkg.version} (${pkg.homepage})`
},
json: true
json: true,
cache: this.options.cache
});
}
}

Loading…
Cancel
Save