mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-01-18 20:21:36 +00:00
Update README.md
Fix server's example code
This commit is contained in:
parent
192bbcbf58
commit
46a54fe6a3
@ -133,7 +133,7 @@ var server = new Server({
|
||||
|
||||
// In addition to returning a boolean (`true` for allowed, `false` for disallowed),
|
||||
// you can return an `Error` object to disallow and provide a custom reason.
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
// Internal http, udp, and websocket servers exposed as public properties.
|
||||
|
Loading…
Reference in New Issue
Block a user