diff --git a/website/docs/intro.md b/website/docs/intro.md index 793923c..e573b9d 100644 --- a/website/docs/intro.md +++ b/website/docs/intro.md @@ -33,7 +33,7 @@ repos.on('fetch', (fetch) => { fetch.accept(); }); -repos.listen(port, () => { +repos.listen(port, {type: 'http'}, () => { console.log(`node-git-server running at http://localhost:${port}`); }); ```