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

Commit

Permalink
remove gateway calls as that does not exist anymore
Browse files Browse the repository at this point in the history
daviddias committed Oct 27, 2015
1 parent 0986ce7 commit 58d2d83
Showing 2 changed files with 0 additions and 10 deletions.
5 changes: 0 additions & 5 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -184,11 +184,6 @@ function IpfsAPI (host_or_multiaddr, port) {
}
}

self.gateway = {
enable: command('gateway/enable'),
disable: command('gateway/disable')
}

self.log = {
tail: function (cb) {
return requestAPI('log/tail', null, {enc: 'text'}, null, true, cb)
5 changes: 0 additions & 5 deletions test/tests.js
Original file line number Diff line number Diff line change
@@ -532,11 +532,6 @@ describe('IPFS Node.js API wrapper tests', function () {
})
})

describe('.gateway', function () {
it('.gateway.disable')
it('.gateway.enable')
})

describe('.log', function () {
it('.log.tail')
})

0 comments on commit 58d2d83

Please sign in to comment.