Commit 0a0f0519d65854f70324178bc08739658ca3a62e
Merge pull request #6 from dominictarr/comment
this comment will make more sense when someone new looks at itPaul Frazee committed on 3/10/2015, 3:05:21 PM
Parent: efa2e64385b5a9b4754d14271c1a1e14883f7e58
Parent: 8c713d2134758c9994f8b20a6c9c54da5b927643
Files changed
index.js | changed |
index.js | ||
---|---|---|
@@ -23,9 +23,13 @@ | ||
23 | 23 … | config.host = config.host || 'localhost' |
24 | 24 … | |
25 | 25 … | var client = muxrpc(loadManf(config), { auth: 'async' }, serialize)({ |
26 | 26 … | auth: function (req, cb) { |
27 | - // just pass-through. you're authed! | |
27 … | + // when this connects to a server, the server auths | |
28 … | + // back to see who this is. we don't have any apis | |
29 … | + // for the server to call (yet) so this doesn't do anything. | |
30 … | + // however, if we don't just let this go through, the server | |
31 … | + // log shows a nasty error log. | |
28 | 32 … | cb() |
29 | 33 … | } |
30 | 34 … | }) |
31 | 35 … | client.keys = keys |
Built with git-ssb-web