Skip to content

Commit 81c323d

Browse files
committed
readme
1 parent 43a425e commit 81c323d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ var server = new Server({
125125

126126
var allowed = (infoHash === 'aaa67059ed6bd08362da625b3ae77f6f4a075aaa')
127127
cb(allowed)
128+
129+
// In addition to returning a boolean (`true` for allowed, `false` for disallowed),
130+
// you can return an `Error` object to disallow and provide a custom reason.
128131
})
129132
})
130133

0 commit comments

Comments
 (0)